Installation

Create a virtual environment

pliffy works with Python 3.8 or above. It is recommended you create a dedicated Python environment before you install pliffy. In your project directory, run the following commands:

python -m venv env

Then activate your new virtual environment.

On macOS and Linux:

source env/bin/activate

On Windows:

.\env\Scripts\activate

Install pliffy and its dependencies

With your virtual environment activated, run the following command:

pip install pliffy

Testing your pliffy installation

With your virtual environment activated, start Python and type the following:

>>> import pliffy
>>> pliffy.demo.demo()

If you did everything correctly, you should see a series of four pliffy figures.