<commit_before>.. image:: ../artwork/toyplot.png
  :width: 200px
  :align: right

.. _dependencies:

Dependencies
============

Toyplot has the following required dependencies:

* Python 2.7 - http://python.org
* colormath - https://github.com/gtaylor/python-colormath
* multipledispatch - https://github.com/mrocklin/multipledispatch
* numpy - http://numpy.org

Optionally, you'll need the following if you intend to generate PDF, PNG, or
Encapsulated Postscript, versions of your Toyplot figures:

* pycairo - http://cairographics.org/pycairo
* python pango bindings - typically distributed as part of pygtk - http://www.pygtk.org

If you plan to generate MP4 videos from animated Toyplot figures, you'll need
ffmpeg:

* ffmpeg - https://www.ffmpeg.org

If you're installing Toyplot from source, you'll need setuptools to run the
Toyplot setup.py script:

* setuptools - http://pythonhosted.org//setuptools

The following are required if you want to run Toyplot's regression tests and view
code coverage:

* behave - BDD test framework - http://pythonhosted.org/behave
* nose - unit test framework - https://nose.readthedocs.org/en/latest/
* coverage - code coverage module - http://nedbatchelder.com/code/coverage/

And you'll need to following if you want to generate this documentation:

* Sphinx - documentation builder - http://sphinx-doc.org
* Sphinx readthedocs theme - https://github.com/snide/sphinx_rtd_theme
* napoleon - http://sphinxcontrib-napoleon.readthedocs.org/en/latest/
* IPython - http://ipython.org
* Pandoc - http://johnmacfarlane.net/pandoc<commit_msg>Update dependencies.rst<commit_after>.. image:: ../artwork/toyplot.png
  :width: 200px
  :align: right

.. _dependencies:

Dependencies
============

Toyplot has the following required dependencies:

* Python 2.7 - http://python.org
* colormath - https://github.com/gtaylor/python-colormath
* multipledispatch - https://github.com/mrocklin/multipledispatch
* numpy - http://numpy.org

Optionally, you'll need the following if you intend to generate PDF, PNG, or
Encapsulated Postscript, versions of your Toyplot figures:

* pycairo - http://cairographics.org/pycairo
* python pango bindings - typically distributed as part of pygtk - http://www.pygtk.org

If you plan to generate MP4 or WebM videos from animated Toyplot figures, you'll need
ffmpeg:

* ffmpeg - https://www.ffmpeg.org

If you're installing Toyplot from source, you'll need setuptools to run the
Toyplot setup.py script:

* setuptools - http://pythonhosted.org//setuptools

The following are required to run Toyplot's regression tests and view
code coverage:

* behave - BDD test framework - http://pythonhosted.org/behave
* nose - unit test framework - https://nose.readthedocs.org/en/latest/
* coverage - code coverage module - http://nedbatchelder.com/code/coverage/

And you'll need to following to generate this documentation:

* Sphinx - documentation builder - http://sphinx-doc.org
* Sphinx readthedocs theme - https://github.com/snide/sphinx_rtd_theme
* napoleon - http://sphinxcontrib-napoleon.readthedocs.org/en/latest/
* IPython - http://ipython.org
* Pandoc - http://johnmacfarlane.net/pandoc
{'fraction_non_alphanumeric': 0.11404066073697586, 'fraction_numerical': 0.0038119440914866584, 'mean_word_length': 4.103727714748785, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3354588', 'n_tokens_mistral': 1036, 'n_tokens_neox': 984, 'n_words': 288}