mongodb/mongo-python-driver
PyMongo - the Official MongoDB Python driver observed · 2026-08-28
Health v2 · maintenance only
93/100
- Activity 99
- Release rhythm 80
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 17.5
- age_days: 6439
- days_rel: 135
- days_push: 7
- n_releases_24m: 23
Adoption not part of the score
4352 stars · 1158 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PyMongo is the official MongoDB driver for Python, providing a native API for connecting to and interacting with MongoDB databases, including synchronous and asynchronous interfaces. It also includes a BSON serialization implementation and a GridFS package for storing large files.
Use cases
- connect to mongodb from python
- store and query documents in mongodb
- save large files with gridfs in python
- use mongodb asynchronously with asyncio
- serialize python objects to bson
- build a python backend on mongodb atlas
When to choose
- you use MongoDB as your database in a Python application
- you need an officially supported, actively maintained MongoDB driver
- you need GridFS for large file storage or BSON serialization
When to avoid
- you use a SQL database rather than MongoDB
- you prefer an ODM like MongoEngine or Beanie on top of a driver
- you target a non-MongoDB compatible document store without checking compatibility
Facets
library · maturity stable
database-driver serialization database databases developer-tools backend python cross-platform mongodb pymongo bson gridfs async official-driver
9 sources
- readme: https://github.com/mongodb/mongo-python-driver · fetched 2026-08-28 · d602829f6bc7
- homepage: https://www.mongodb.com/docs/languages/python/pymongo-driver/current/ · fetched 2026-08-29 · bd108ceade5b
- site_page: https://www.mongodb.com/docs/atlas · fetched 2026-08-29 · f312e042649e
- site_page: https://www.mongodb.com/docs/manual · fetched 2026-08-29 · 6a4548d2a71b
- site_page: https://www.mongodb.com/docs/tools-and-connectors · fetched 2026-08-29 · 7c907d21d3d3
- site_page: https://www.mongodb.com/docs/drivers · fetched 2026-08-29 · 194534c44bc5
- site_page: https://www.mongodb.com/docs/atlas/architecture/current/solutions-library · fetched 2026-08-29 · 0dfd723aadd5
- site_page: https://www.mongodb.com/company/newsroom · fetched 2026-08-29 · e3f69e7b7c0c
- site_page: https://www.mongodb.com/company/partners · fetched 2026-08-29 · 342527daf5e8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mongodb/mongo-python-driver | main | 93 |
For agents
markdown · JSON · MCP: product_card(name="mongodb/mongo-python-driver")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem