Skip to main content

Asynchronous wrapper for pymongo

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

async_pymongo-0.1.12.tar.gz (24.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

async_pymongo-0.1.12-py3-none-any.whl (36.1 kB view details)

Uploaded Python 3

File details

Details for the file async_pymongo-0.1.12.tar.gz.

File metadata

  • Download URL: async_pymongo-0.1.12.tar.gz
  • Upload date:
  • Size: 24.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.4 Linux/6.13.12-locietta-WSL2-xanmod1

File hashes

Hashes for async_pymongo-0.1.12.tar.gz
Algorithm Hash digest
SHA256 7f14166d106f1aefedfcd775842d8304b8642e858d50d9ea45978b122de6e84f
MD5 d5d0ec2fb15ec6633dccd9c7ef8f2160
BLAKE2b-256 f4c90d04e80f954a70b541d58216aff7ad6f13ab9984b0bc5a7a966653dc70f8

See more details on using hashes here.

File details

Details for the file async_pymongo-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: async_pymongo-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 36.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.1 CPython/3.14.4 Linux/6.13.12-locietta-WSL2-xanmod1

File hashes

Hashes for async_pymongo-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 81565ddbd4edd4ef38833ef3c9f529ffb9c296f00251c563ce7da6bd09cfc09c
MD5 181d7b054ae4c6fb288531bb393e11d1
BLAKE2b-256 d92cfd953f6de814ff03283b930ca1970a1812f985cca9492058618c89719e69

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page