2013-04-03 14:38:50 +02:00
|
|
|
|
|
|
|
|
Installation Guide
|
|
|
|
|
==================
|
|
|
|
|
|
2017-09-09 18:24:34 +02:00
|
|
|
The easiest way is to install ``dataset`` from the `Python Package Index
|
|
|
|
|
<https://pypi.python.org/pypi/dataset/>`_ using ``pip`` or ``easy_install``:
|
2013-04-03 14:38:50 +02:00
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
2013-09-19 19:14:46 +02:00
|
|
|
$ pip install dataset
|
2013-04-03 14:38:50 +02:00
|
|
|
|
2013-04-03 14:47:16 +02:00
|
|
|
To install it manually simply download the repository from Github:
|
|
|
|
|
|
|
|
|
|
.. code-block:: bash
|
|
|
|
|
|
|
|
|
|
$ git clone git://github.com/pudo/dataset.git
|
|
|
|
|
$ cd dataset/
|
|
|
|
|
$ python setup.py install
|
|
|
|
|
|
2017-09-09 18:24:34 +02:00
|
|
|
Depending on the type of database backend, you may also need to install a
|
|
|
|
|
database specific driver package. For MySQL, this is ``MySQLdb``, for Postgres
|
|
|
|
|
its ``psycopg2``. SQLite support is integrated into Python.
|