--- id: pymongo version: "4.17.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # pymongo — PyMongo - the Official MongoDB Python driver License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install pymongo uv add pymongo poetry add pymongo ## Description # PyMongo [![PyPI Version](https://img.shields.io/pypi/v/pymongo)](https://pypi.org/project/pymongo) [![Python Versions](https://img.shields.io/pypi/pyversions/pymongo)](https://pypi.org/project/pymongo) [![Monthly Downloads](https://static.pepy.tech/badge/pymongo/month)](https://pepy.tech/project/pymongo) [![API Documentation Status](https://readthedocs.org/projects/pymongo/badge/?version=stable)](http://pymongo.readthedocs.io/en/stable/api?badge=stable) [![codecov](https://codecov.io/gh/mongodb/mongo-python-driver/graph/badge.svg?branch=master)](https://codecov.io/gh/mongodb/mongo-python-driver) ## About The PyMongo distribution contains tools for interacting with MongoDB database from Python. The `bson` package is an implementation of the [BSON format](http://bsonspec.org) for Python. The `pymongo` package is a native Python driver for MongoDB, offering both synchronous and asynchronous APIs. The `gridfs` package is a [gridfs](https://github.com/mongodb/specifications/blob/master/source/gridfs/gridfs-spec.md/) implementation on top of `pymongo`. PyMongo supports MongoDB 4.0, 4.2, 4.4, 5.0, 6.0, 7.0, and 8.0. PyMongo follows [semantic... ## AI interpretation — verify before relying PyMongo is the official Python driver for MongoDB, providing synchronous and asynchronous APIs for database operations, BSON serialization, and GridFS file storage. Verdict: PyMongo 4.17.0 is a mature, actively maintained driver with no known vulnerabilities, broad platform support, and permissive licensing. Medium install friction is typical for a database driver with compiled components. Suitable for production use in applications requiring MongoDB connectivity. [View on SkillFed](https://skillfed.io/packages/pymongo) · [View on PyPI](https://pypi.org/project/pymongo/)