summaryrefslogtreecommitdiff
path: root/docs/install.rst
blob: 62e486dbe4b53ebd12e1a692c8d5aa766500efdf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
.. _install:

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

This part of the documentation covers the installation of Tablib. The first step to using any software package is getting it properly installed.


.. _installing:

-----------------
Installing Tablib
-----------------

Distribute & Pip
----------------

Of course, the recommended way to install Tablib is with `pip <https://pip.pypa.io>`_:

.. code-block:: console

    $ pip install tablib

You can also choose to install more dependencies to have more import/export
formats available:

.. code-block:: console

    $ pip install tablib[xlsx]

Or all possible formats:

.. code-block:: console

    $ pip install tablib[all]

which is equivalent to:

.. code-block:: console

    $ pip install tablib[html, pandas, ods, xls, xlsx, yaml]

-------------------
Download the Source
-------------------

You can also install Tablib from source.
The latest release (|version|) is available from GitHub.

* tarball_
* zipball_

.. _

Once you have a copy of the source,
you can embed it in your Python package,
or install it into your site-packages easily.

.. code-block:: console

    $ python setup.py install


To download the full source history from Git, see :ref:`Source Control <scm>`.

.. _tarball: https://github.com/jazzband/tablib/tarball/master
.. _zipball: https://github.com/jazzband/tablib/zipball/master


.. _updates:

Staying Updated
---------------

The latest version of Tablib will always be available here:

* PyPI: https://pypi.org/project/tablib/
* GitHub: https://github.com/jazzband/tablib/

When a new version is available, upgrading is simple::

    $ pip install tablib --upgrade


Now, go get a :ref:`Quick Start <quickstart>`.