Asyncmongo-ORM supports installation using standard Python “distutils” or “setuptools” methodologies. An overview of potential setups is as follows:
Note
It is strongly recommended that either setuptools or distribute be installed. Python’s built-in distutils lacks many widely used installation features.
When easy_install or pip is available, the distribution can be downloaded from Pypi and installed in one step:
easy_install asyncmongororm
Or with pip:
pip install asyncmongororm
This command will download the latest version of Asyncmongo-ORM from the Python Cheese Shop and install it to your system.
Otherwise, you can install from the distribution using the setup.py script:
python setup.py install
The version of Asyncmongo-ORM installed can be checked from your Python prompt like this:
>>> import asyncmongoorm
>>> asyncmongoorm.__version__
'0.3.2'
The following three python libraries are required.
- pymongo version 1.9+ for bson library
- tornado
- asyncmongo
Note
The above requirements are automatically managed when installed using any of the supported installation methods