Installation
============

DataPoint for Python can be installed like any other Python module.

It is available on `PyPI <https://pypi.python.org/pypi/datapoint/>`__
and the source is available on
`GitHub <https://github.com/perseudonymous/datapoint-python>`__.

Pip
---

`Pip <https://pip.pypa.io/>`__ makes Python package installation simple.
For the latest stable version just fire up your terminal and run:

::

   pip install datapoint

or for the very latest code from the repository’s master branch run:

::

   pip install git+git://github.com/perseudonymous/datapoint-python.git@master

and to upgrade it in the future:

::

   pip install git+git://github.com/perseudonymous/datapoint-python.git@master --upgrade

Source
------

You can also install from the source in GitHub.

First checkout the GitHub repository (or you can `download the
zip <https://github.com/perseudonymous/datapoint-python/archive/master.zip>`__
and extract it).

::

   git clone https://github.com/perseudonymous/datapoint-python.git datapoint-python

Navigate to that directory

::

   cd datapoint-python

Then run the setup

::

   python setup.py install
