Skip to content

Ling-ex/async_pymongo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Asynchronous wrapper for pymongo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%