Motor presents a Tornado callback- or Future-based API for non-blocking access to MongoDB. The source is on GitHub and the docs are on ReadTheDocs.
“Motor uses a clever greenlet-based approach to fully support both synchronous and asynchronous interfaces from a single codebase. It’s great to see companies like 10gen produce first-party asynchronous drivers for their products.”
—Ben Darnell, Tornado maintainer
安装:
$ pip install motor
Post questions about Motor to the mongodb-user list on Google Groups. For confirmed issues or feature requests, open a case in Jira in the “MOTOR” project.