$npx skillfedfor your agent

motor

Non-blocking MongoDB driver for Tornado or asyncio

With conditionsPyPI DatabaseReleased May 202511.5M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — motor-3.7.1-py3-none-any.whl
v3.7.1 · released 2025-05-14 · Python >=3.9 · 1 runtime deps: pymongo

Yes, but with a critical caveat: Motor is actively maintained and production-stable, with low install friction and permissive licensing. However, it is scheduled for deprecation on May 14th, 2026, with MongoDB strongly recommending migration to the PyMongo Async driver. Install Motor only if you have an existing Motor codebase or a clear migration plan; for new projects, evaluate the PyMongo Async driver instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9+; must be used within an asyncio event loop or Tornado application context.
  • Low install friction with a single runtime dependency (pymongo).
  • Active maintenance as of August 2026, though Motor is scheduled for deprecation on May 14th, 2026, with critical bug fixes until May 14th, 2027—users should plan migration to the PyMongo Async driver.

License · maintenance · safety

permissive license (permissive) — Apache License 2.0 is permissive; you may use, modify, and distribute Motor freely in commercial and open-source projects, provided you include license and copyright notices.

last release 2025-05-14 (457 days) · last repo commit 2026-08-10 · 2,527 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,494,607 downloads/mo, #1,389 on PyPI

Verify before relying

pip install motor

import motor.motor_asyncio

client = motor.motor_asyncio.AsyncIOMotorClient()
db = client.test_database
collection = db.test_collection

# Use in an async context
await collection.insert_one({'name': 'example'})
  • Performance characteristics and throughput limits in production environments beyond the quoted use cases.
  • Compatibility matrix details with specific asyncio and Tornado versions.
  • Migration path complexity and effort for existing Motor applications moving to PyMongo Async driver.
Same gist for agents: .md · .json

What it is and what it does

Motor is a non-blocking MongoDB driver designed for Python asyncio and Tornado applications. It wraps pymongo (>=4.9,<5) to provide a coroutine-based API that allows your application to query MongoDB without blocking the event loop, enabling efficient handling of concurrent requests. Motor is used in high-throughput environments where blocking I/O would degrade performance; it lets you scale horizontally by fully utilizing available CPU cores.

The package requires Python 3.9+ and works on Unix (including macOS) and Windows. It has a single runtime dependency on pymongo and offers optional extras for features like GSSAPI authentication, AWS authentication, mongodb+srv:// URIs, OCSP, and wire protocol compression. However, Motor is entering end-of-life: it will be deprecated on May 14th, 2026, with critical bug fixes only until May 14th, 2027. MongoDB recommends migrating to the PyMongo Async driver for new projects.

Use it for

  • Building high-throughput web services with asyncio or Tornado that need concurrent MongoDB access without blocking.
  • Sensor systems and IoT applications requiring massively scalable database operations across many concurrent connections.
  • Real-time data processing pipelines that must handle thousands of requests per second while maintaining responsive event loops.
  • Microservices using async frameworks that need non-blocking database queries.
  • Applications requiring GSSAPI or AWS authentication to MongoDB with async/await syntax.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, but with a critical caveat: Motor is actively maintained and production-stable, with low install friction and permissive licensing.

However, it is scheduled for deprecation on May 14th, 2026, with MongoDB strongly recommending migration to the PyMongo Async driver. Install Motor only if you have an existing Motor codebase or a clear migration plan; for new projects, evaluate the PyMongo Async driver instead.

Install

motor on PyPI

Before you install

Low install friction with a single runtime dependency (pymongo). Active maintenance as of August 2026, though Motor is scheduled for deprecation on May 14th, 2026, with critical bug fixes until May 14th, 2027—users should plan migration to the PyMongo Async driver.

Requires Python 3.9+; must be used within an asyncio event loop or Tornado application context.

License in practice

Apache License 2.0 is permissive; you may use, modify, and distribute Motor freely in commercial and open-source projects, provided you include license and copyright notices.

Quickstart

pip install motor

import motor.motor_asyncio

client = motor.motor_asyncio.AsyncIOMotorClient()
db = client.test_database
collection = db.test_collection

# Use in an async context
await collection.insert_one({'name': 'example'})

Verify before relying

  • Performance characteristics and throughput limits in production environments beyond the quoted use cases.
  • Compatibility matrix details with specific asyncio and Tornado versions.
  • Migration path complexity and effort for existing Motor applications moving to PyMongo Async driver.

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
pymongo
MaintenanceActively maintained 457 days since the last release
Last repo commit
First released
Downloads11,494,607 / month, #1,389 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTyping :: Typed

Evidence: motor-3.7.1-py3-none-any.whl

Tags

Capabilities
async mongodb drivernon-blocking mongo asynciotornado mongodb drivercoroutine-based database accessmongodb asyncio clientevent-loop mongodbasync database driver
Topics
async-iomongodbdeprecated-planned
PyPI keywords
asynciobsongridfsmongomongodbmotorpymongotornado

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “async mongodb driver”

  • motorMotor provides a non-blocking MongoDB driver for asyncio and Tornado…
  • pymongoPyMongo is the official MongoDB Python driver, providing synchronous…
  • odmanticODMantic is an async-first Object Document Mapper for MongoDB that…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also mongomock-motor · motor-types · pymongo · Flask-PyMongo · tornado · dynamixel-sdk · beanie · pymongo_inmemory · pymongo-auth-aws · pydantic-mongo