==========
Installing
==========

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


PyPI
====

pygal is `available on PyPI <http://pypi.python.org/pypi/pygal/>`_.
To install, just type as superuser:

.. code-block:: bash

  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 <https://github.com/Kozea/pygal>`_, or clone it with:

.. code-block:: bash

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

You can also download `the development snapshot from github <http://github.com/Kozea/pygal/tarball/master>`_.


Linux Distribution Packages
===========================

Pygal has been packaged for:

- `Fedora <https://admin.fedoraproject.org/pkgdb/acls/name/python-pygal>`_
- `Gentoo <http://packages.gentoo.org/package/dev-python/pygal>`_
- `Ubuntu <https://launchpad.net/ubuntu/+source/python-pygal>`_
- `Debian <https://packages.debian.org/unstable/python-pygal>`_
- `Arch Linux <https://aur.archlinux.org/packages/python-pygal/>`_

If you are interested in creating packages for Linux distributions, `contact us <support.html>`_.
