Like this project? it on
Installation¶
Using pip or easy_install¶
The easiest way to install Blitz is via pip or easy_install:
pip install blitzdb
#or...
easy_install install blitzdb
This will fetch the latest version from PyPi and install it on your machine.
Using Github¶
Since BlitzDB is still in heavy development, installing directly from the Github source will guarantee that your version will contain the latest features and bugfixes. To clone and install the project, just do the following
git clone git@github.com:adewes/blitzdb.git
cd blitzdb
sudo python setup.py install
Requirements¶
The vanilla version of Blitz does not require any non-standard Python modules to run. However, you might want to install the following Python libraries to be able to use all features of Blitz:
- pymongo: Required for the MongoDB backend
- cjson: Required for the CJsonEncoder (improved JSON serialization speed)
- pytest: Required for running the test suite
- fake-factory: Required for generating fake test data
You can install these requirements using pip and the requirements.txt file:
#in BlitzDB main folder
pip install -R requirements.txt