Install

django-json-dbindex is open-source software, published under BSD license. See License for details.

If you want to install a development environment, you should go to Contributing documentation.

Prerequisites

  • Python [1] 2.7, 3.3 or 3.4. Other versions may work, but they are not part of the test suite at the moment.

As a library

In most cases, you will use django-json-dbindex as a dependency of another project. In such a case, you should add django-json-dbindex in your main project’s requirements. Typically in setup.py:

from setuptools import setup

setup(
    install_requires=[
        'django-json-dbindex',
        #...
    ]
    # ...
)

Then when you install your main project with your favorite package manager (like pip [2]), django-json-dbindex will automatically be installed.

Standalone

You can install django-json-dbindex with your favorite Python package manager. As an example with pip [2]:

pip install django-json-dbindex

Check

Check django-json-dbindex has been installed:

python -c "import django_json_dbindex;print(django_json-dbindex.__version__)"

You should get django_json_dbindex‘s version.

References

[1]https://www.python.org/
[2](1, 2) https://pypi.python.org/pypi/pip/