This project has been archived by its maintainers, and is no longer receiving any updates.
Experimental stub files for PyMongo 3.
pymongo-stubs is NOT an officially supported MongoDB product.
Example
Installation
pymongo-stubs can be installed with pip:
$ python3 -m pip install pymongo-stubs
Installing from source
pymongo-stubs’ source code is hosted on Github: mongodb-labs/pymongo-stubs. To install pymongo-stubs from source:
$ git clone git@github.com:mongodb-labs/pymongo-stubs.git $ python3 -m pip install ./pymongo-stubs
Dependencies
pymongo-stubs is compatible with Python >=3.6 and PyMongo >=3.11,<4.0.
Roadmap
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.
Support / Feedback
pymongo-stubs is experimental and is not an officially supported MongoDB product. For questions, discussions, or general technical support, visit the MongoDB Community Forums.
Bugs / Feature Requests
Think you’ve found a bug? Please open a case in our issue management tool, JIRA:
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.
Release files for pymongo-stubs 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pymongo-stubs-0.2.0.tar.gz | 27.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pymongo_stubs-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.7 kB
Release files / pymongo-stubs-0.2.0.tar.gz
| Download URL | pymongo-stubs-0.2.0.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f53d497c8f9d64d9187b8e969184027112234fcef1b99dbc3190bb133d19ee19
|
|
BLAKE2b-256 checksum How to use checksums |
2d4682d53c1096768eaf2adf90d8b1f17c88f51b17efe67791b9546af7617503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|
Release files / pymongo_stubs-0.2.0-py3-none-any.whl
| Download URL | pymongo_stubs-0.2.0-py3-none-any.whl |
|---|---|
| Size | 39.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f634211cc15257a9f5e6e69fea69f9322c8a1fb2b81ac0f1dbc88dc6df12066
|
|
BLAKE2b-256 checksum How to use checksums |
b1745f1f8d3ddd28155e15b0f034b370c245191abbeea1cf88c2e2f79612a571
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7
|