Python can be downloaded here.
For further information on how to install Python on your operating system :
On OSx you can also install Python through
HomeBrew, which would also install pip along, to do so, you need to install HomeBrew and then run the following command :
brew install python3
pip is the standard package manager for Python. It allows you to install and manage additional packages that are not part of the Python standard library.
- Download get-pip.py
- Open your terminal (
cmd, ...) and navigate to the folder containing
- Run the following command :
- Pip is now installed
Debian / Ubuntu:
sudo apt install python3-pip
CentOS / Rhel:
sudo yum install epel-release sudo yum install python-pip
sudo dnf install python3
sudo pacman -S python-pip
sudo zypper install python3-pip
get-pip.py and then run it
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python get-pip.py
brew install python3
You can verify that
pipwas installed properly by running the following command in your terminal :
pip -Vwhich should returns the version of the installed
Fork the package.
Clone your forked repository.
git clone https://github.com/<githubusername>/python-client
- Next, move into the fresh cloned directory.
- The next step would be to create something like a virtual environment to ensure no name clashes occur.
- Create and enter the virtual environment
# With virtualenv (on Unix and OSx) mkdir my-amazing-solar-project cd my-amazing-solar-project virtualenv virtualEnvName source venv/bin/activate # With virtualenv (on Windows) mkdir my-amazing-solar-project cd my-amazing-solar-project virtualenv virtualEnvName .\venv\Scripts\activate.bat
- Once inside the virtualenv, you can proceed to install the dependencies. These are listed inside the setup.py file.
pip install \ requests \ backoff \ flake8 \ flake8-import-order \ flake8-print \ flake8-quotes \ pytest \ pytest-responses \ pytest-mock \ pytest-cov
- Dependencies are now installed, you can now run the tests to see if everything is running as it should.