pymongo 4.2.0


Python driver for MongoDB <>

Python driver for MongoDB <>

Stars: 3658, Watchers: 3658, Forks: 1073, Open Issues: 10

The mongodb/mongo-python-driver repo was created 13 years ago and was last updated 13 hours ago.
The project is very popular with an impressive 3658 github stars!

How to Install pymongo

You can install pymongo using pip

pip install pymongo

or add it to a project with poetry

poetry add pymongo

Package Details

The MongoDB Python Team
Apache License, Version 2.0
GitHub Repo


  • Database
No  pymongo  pypi packages just yet.


A list of common pymongo errors.

Code Examples

Here are some pymongo code examples and snippets.

Related Packages & Articles

mongomock 4.1.2

Fake pymongo stub for testing simple MongoDB-dependent code

mongoengine 0.24.2

MongoEngine is a Python Object-Document Mapper for working with MongoDB.

flask-mongoengine 1.0.0

Flask-MongoEngine is a Flask extension that provides integration with MongoEngine and WTF model forms.

motor 3.0.0

Non-blocking MongoDB driver for Tornado or asyncio