Experimental stub files for PyMongo 3.
pymongo-stubs is NOT an officially supported MongoDB product.
pymongo-stubs can be installed with pip:
$ python3 -m pip install pymongo-stubs
pymongo-stubs' source code is hosted on Github: mongodb-labs/pymongo-stubs. To install pymongo-stubs from source:
$ git clone [email protected]:mongodb-labs/pymongo-stubs.git $ python3 -m pip install ./pymongo-stubs
pymongo-stubs is compatible with Python >=3.6 and PyMongo >=3.11,<4.0.
pymongo-stubs adds support for type checking PyMongo 3.X code. This project will not support PyMongo 4. Instead, PyMongo 4 will add inline type annotations (in PYTHON-2432) which removes the need to maintain stub files. This project will reach end-of-life when PYTHON-2432 is completed or when MongoDB drops support for PyMongo 3.X.
pymongo-stubs is experimental and is not an officially supported MongoDB product. For questions, discussions, or general technical support, visit the MongoDB Community Forums.
Think you’ve found a bug? Please open a case in our issue management tool, JIRA:
- Create an account and login.
- Navigate to the PYTHON project.
- Click Create Issue - Please provide as much information as possible about the issue type and how to reproduce it.
Bug reports in JIRA for all driver projects (i.e. PYTHON, CSHARP, JAVA) and the Core Server (i.e. SERVER) project are public.