2. Installation

2.1. Stable release

To install Python polarization, run this command in your terminal:

$ pip install py_pol

This is the preferred method to install Python polarization, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

2.2. From sources

The sources for Python polarization can be downloaded from the Bitbucket repo.

You can either clone the public repository:

$ git clone git@bitbucket.org:optbrea/py_pol.git
$ git clone https://optbrea@bitbucket.org/optbrea/py_pol.git

Once you have a copy of the source, you can install it with:

$ python setup.py install