async_pymongo
Asynchronous wrapper for pymongo
Comparison
Installing
pip3 install async_pymongo
Usage
from async_pymongo import AsyncClient
async def main():
conn = AsyncClient("mongodb://...")
db = conn["database_name"]
col = db["collections_name"]
await col.insert_one({"name": "John Smith", "age": 25})
async for data in col.find({}):
print(data["name"])
The rest function are same with pymongo but with await
Release files for async-pymongo 0.1.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| async_pymongo-0.1.12.tar.gz | 24.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| async_pymongo-0.1.12-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 60.3 kB
Release files / async_pymongo-0.1.12.tar.gz
| Download URL | async_pymongo-0.1.12.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f14166d106f1aefedfcd775842d8304b8642e858d50d9ea45978b122de6e84f
|
|
BLAKE2b-256 checksum How to use checksums |
f4c90d04e80f954a70b541d58216aff7ad6f13ab9984b0bc5a7a966653dc70f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.4 Linux/6.13.12-locietta-WSL2-xanmod1
|
Release files / async_pymongo-0.1.12-py3-none-any.whl
| Download URL | async_pymongo-0.1.12-py3-none-any.whl |
|---|---|
| Size | 36.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
81565ddbd4edd4ef38833ef3c9f529ffb9c296f00251c563ce7da6bd09cfc09c
|
|
BLAKE2b-256 checksum How to use checksums |
d92cfd953f6de814ff03283b930ca1970a1812f985cca9492058618c89719e69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.4.1 CPython/3.14.4 Linux/6.13.12-locietta-WSL2-xanmod1
|