Metadata-Version: 2.1 Name: motor Version: 3.2.0 Summary: Non-blocking MongoDB driver for Tornado or asyncio Home-page: https://github.com/mongodb/motor/ Author: A. Jesse Jiryu Davis Author-email: jesse@mongodb.com License: http://www.apache.org/licenses/LICENSE-2.0 Keywords: mongo,mongodb,pymongo,gridfs,bson,motor,tornado,asyncio Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: Apache Software License Classifier: Development Status :: 5 - Production/Stable Classifier: Natural Language :: English Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 Classifier: Operating System :: MacOS :: MacOS X Classifier: Operating System :: Unix Classifier: Operating System :: Microsoft :: Windows Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy Requires-Python: >=3.7 License-File: LICENSE Requires-Dist: pymongo (<5,>=4.4) Provides-Extra: aws Requires-Dist: pymongo[aws] (<5,>=4.4) ; extra == 'aws' Provides-Extra: encryption Requires-Dist: pymongo[encryption] (<5,>=4.4) ; extra == 'encryption' Provides-Extra: gssapi Requires-Dist: pymongo[gssapi] (<5,>=4.4) ; extra == 'gssapi' Provides-Extra: ocsp Requires-Dist: pymongo[ocsp] (<5,>=4.4) ; extra == 'ocsp' Provides-Extra: snappy Requires-Dist: pymongo[snappy] (<5,>=4.4) ; extra == 'snappy' Provides-Extra: srv Requires-Dist: pymongo[srv] (<5,>=4.4) ; extra == 'srv' Provides-Extra: zstd Requires-Dist: pymongo[zstd] (<5,>=4.4) ; extra == 'zstd' ===== Motor ===== .. image:: https://raw.github.com/mongodb/motor/master/doc/_static/motor.png :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 About ===== Motor presents a coroutine-based API for non-blocking access to MongoDB. The source is `on GitHub `_ and the docs are on ReadTheDocs_. "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 `StackOverflow `_ (using a "mongodb" tag). 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, ...) Security Vulnerabilities ------------------------ If you've identified a security vulnerability in a driver or any other MongoDB project, please report it according to the `instructions here `_. Installation ============ Motor can be installed with `pip `_:: $ pip install motor Dependencies ============ Motor works in all the environments officially supported by Tornado or by asyncio. It requires: * Unix (including macOS) or Windows. * PyMongo_ >=4.1,<5 * Python 3.7+ Optional dependencies: Motor supports same optional dependencies as PyMongo. Required dependencies can be installed along with Motor. GSSAPI authentication requires ``gssapi`` extra dependency. The correct dependency can be installed automatically along with Motor:: $ pip install "motor[gssapi]" similarly, MONGODB-AWS authentication requires ``aws`` extra dependency:: $ pip install "motor[aws]" Support for mongodb+srv:// URIs requires ``srv`` extra dependency:: $ pip install "motor[srv]" OCSP requires ``ocsp`` extra dependency:: $ pip install "motor[ocsp]" Wire protocol compression with snappy requires ``snappy`` extra dependency:: $ pip install "motor[snappy]" Wire protocol compression with zstandard requires ``zstd`` extra dependency:: $ pip install "motor[zstd]" Client-Side Field Level Encryption requires ``encryption`` extra dependency:: $ pip install "motor[encryption]" You can install all dependencies automatically with the following command:: $ pip install "motor[gssapi,aws,ocsp,snappy,srv,zstd,encryption]" See `requirements `_ for details about compatibility. Examples ======== See the `examples on ReadTheDocs `_. Documentation ============= Motor's documentation is on ReadTheDocs_. Build the documentation with Python 3.7+. Install sphinx_, Tornado_, and aiohttp_, and do ``cd doc; make html``. Learning Resources ================== MongoDB Learn - `Python courses `_. `Python Articles on Developer Center `_. Testing ======= Run ``python setup.py test``. Tests are located in the ``test/`` directory. .. _PyMongo: http://pypi.python.org/pypi/pymongo/ .. _MongoDB: http://mongodb.org/ .. _Tornado: http://tornadoweb.org/ .. _asyncio: https://docs.python.org/3/library/asyncio.html .. _aiohttp: https://github.com/aio-libs/aiohttp .. _ReadTheDocs: https://motor.readthedocs.io/en/stable/ .. _sphinx: http://sphinx.pocoo.org/