Installing

pygal is available for Python 3.6, 3.7, 3.8, 3.9 and pypy.

PyPI

pygal is available on PyPI. To install, just type as superuser:

pip install pygal

Dependencies

There are no required dependency.

Optional dependencies are as follow:

  • lxml which can improve rendering speed (except on pypy).
  • cairosvg, tinycss, cssselect to render png.

Git Repository

If you want the development version of pygal, take a look at the git repository on GitHub, or clone it with:

git clone git://github.com/Kozea/pygal.git

You can also download the development snapshot from github.

Linux Distribution Packages

Pygal has been packaged for:

If you are interested in creating packages for Linux distributions, contact us.