Installation

Paganini is available as a Python package for both Python2 and Python3.

Warning

We strongly recommend using Python3, and we do not guarantee the required decimal precision for Python2. Moreover, the support for Python2 drops in 2020, and as a consequence, some of the packages that we use are not anymore maintained, and the usage is at your own risk. In particular, two of our tests fail on Python2 for the reasons of numerical precision.

Note

We assume that the user is familiar with Python and its package manager pip. If you are new to Python, please visit the official installation webpage https://www.python.org/downloads/. For new versions of Python, pip is already pre-installed. If you don’t have it, check https://pip.pypa.io/en/stable/installing/

The latest release of Paganini can be installed using pip:

>>> pip install paganini

Tip

If you want to update to the recent version of paganini, use

pip3 install –upgrade paganini

You may also want to upgrade pip so that the installation works properly

pip3 install –upgrade pip

Installation from sources

In order to install from sources, you need git, or you can download and install the code manually from github.

git clone git://github.com/maciej-bendkowski/paganini.git
cd paganini
python3 setup.py install

Testing

In order to verify that paganini works, run the following in the command line

python3 -m paganini.tests

You can get more examles in the tests folder

>>> import paganini
>>> help(paganini.tests)