Non-blocking MongoDB driver for Tornado or asyncio
|Info:||Motor is a full-featured, non-blocking MongoDB driver for Python Tornado and asyncio applications.|
|Documentation:||Available at motor.readthedocs.io|
|Author:||A. Jesse Jiryu Davis|
“We use Motor in high throughput environments, processing tens of thousands of requests per second. It allows us to take full advantage of modern hardware, ensuring we utilise the entire capacity of our purchased CPUs. This helps us be more efficient with computing power, compute spend and minimises the environmental impact of our infrastructure as a result.”
—David Mytton, Server Density
“We develop easy-to-use sensors and sensor systems with open source software to ensure every innovator, from school child to laboratory researcher, has the same opportunity to create. We integrate Motor into our software to guarantee massively scalable sensor systems for everyone.”
—Ryan Smith, inXus Interactive
Support / Feedback
For issues with, questions about, or feedback for PyMongo, please look into our support channels. Please do not email any of the Motor developers directly with issues or questions - you’re more likely to get an answer on the MongoDB Community Forums.
Bugs / Feature Requests
Think you’ve found a bug? Want to see a new feature in Motor? Please open a case in our issue management tool, JIRA:
- Create an account and login.
- Navigate to the MOTOR project.
- Click Create Issue - Please provide as much information as possible about the issue type and how to reproduce it.
Bug reports in JIRA for all driver projects (i.e. MOTOR, CSHARP, JAVA) and the Core Server (i.e. SERVER) project are public.
How To Ask For Help
Please include all of the following information when opening an issue:
Detailed steps to reproduce the problem, including full traceback, if possible.
The exact python version used, with patch level:
$ python -c "import sys; print(sys.version)"
The exact version of Motor used, with patch level:
$ python -c "import motor; print(motor.version)"
The exact version of PyMongo used, with patch level:
$ python -c "import pymongo; print(pymongo.version); print(pymongo.has_c())"
The exact Tornado version, if you are using Tornado:
$ python -c "import tornado; print(tornado.version)"
The operating system and version (e.g. RedHat Enterprise Linux 6.4, OSX 10.9.5, …)
If you’ve identified a security vulnerability in a driver or any other MongoDB project, please report it according to the instructions here.
Motor can be installed with pip:
$ pip install motor
Motor works in all the environments officially supported by Tornado or by asyncio. It requires:
- Unix (including macOS) or Windows.
- PyMongo >=3.11,<4
- Python 3.5+
See requirements for details about compatibility.
See the examples on ReadTheDocs.
Motor’s documentation is on ReadTheDocs.
Run python setup.py test. Tests are located in the test/ directory.
Release history Release notifications | RSS feed
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size motor-2.3.0-py3-none-any.whl (53.3 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size motor-2.3.0.tar.gz (327.3 kB)||File type Source||Python version None||Upload date||Hashes View|