# mongodb/motor

Motor - the async Python driver for MongoDB and Tornado or asyncio

Repository: https://github.com/mongodb/motor
Canonical: https://ross.abutalabs.com/products/motor
Homepage: https://motor.readthedocs.io
Language: Python
License: Apache-2.0
License Family: permissive
Topics: async, mongodb, python
Last push: 2026-08-26T13:43:34+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 40, longevity 100
- inputs: {"age_days": 4982, "days_push": 7, "days_rel": 476, "gap_med": 15, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2526, forks 217 (observed 2026-08-28T04:06:58.586402+00:00)

## What it is
Motor is a full-featured, non-blocking MongoDB driver for Python asyncio and Tornado applications, exposing a coroutine-based API. It is deprecated in favor of the PyMongo Async API, with only bug fixes until end of life.

## Use cases
- use mongodb from asyncio python code
- non-blocking database access in tornado apps
- async mongodb driver for python
- query mongodb without blocking the event loop
- migrate motor code to pymongo async api

## When to choose
- maintaining an existing asyncio or Tornado app already using Motor
- you need a battle-tested async MongoDB driver on older Python stacks

## When to avoid
- starting a new project - use the PyMongo Async API instead
- you need new driver features or long-term support beyond 2027

## Facets
- artifact type: library
- maturity: maintenance
- function: database-driver, database
- domain: databases, backend, web-development
- platform: python, cross-platform
- tags: mongodb, asyncio, tornado, non-blocking, deprecated

## Member repositories
- mongodb/motor (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:58.586402+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:25:29.195226+00:00, confidence not recorded.
  - readme: https://github.com/mongodb/motor (fetched 2026-08-28T04:06:58.586402+00:00, sha ea3dafe30ee2)
  - registry_pypi: https://pypi.org/pypi/motor/json (fetched 2026-08-29T10:08:35.121079+00:00, sha 4f5e677d5771)
- Data as of 2026-08-30T08:39:29.467469+00:00.
