Patsy is a Python library for describing statistical models
(especially linear models, or models that have a linear component) and
building design matrices. Patsy brings the convenience of `R
<http://www.r-project.org/>`_ "formulas" to Python.

.. image:: https://travis-ci.org/pydata/patsy.png?branch=master
   :target: https://travis-ci.org/pydata/patsy
.. image:: https://coveralls.io/repos/pydata/patsy/badge.png?branch=master
   :target: https://coveralls.io/r/pydata/patsy?branch=master

Documentation:
  https://patsy.readthedocs.io/

Downloads:
  http://pypi.python.org/pypi/patsy/

Dependencies:
  * Python (2.6, 2.7, or 3.3+)
  * six
  * numpy

Optional dependencies:
  * nose: needed to run tests
  * scipy: needed for spline-related functions like ``bs``

Install:
  ``pip install patsy`` (or, for traditionalists: ``python setup.py install``)

Code and bug tracker:
  https://github.com/pydata/patsy

Mailing list:
  * pydata@googlegroups.com
  * http://groups.google.com/group/pydata
  * http://news.gmane.org/gmane.comp.python.pydata

License:
  2-clause BSD, see LICENSE.txt for details.
