Observed since 21 Oct, 11:45 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
🛋 An asynchronous client library for CouchDB 2.x and 3.x
An asynchronous client library for CouchDB 2.0 based on asyncio using aiohttp
pip install aiocouch
The following code retrieves and prints the list of incredients of the apple_pie recipe.
The incredients are stored as a list in the apple_pie aiocouch.document.Document,
which is part of the recipe aiocouch.database.Database. We use the context manager
aiocouch.CouchDB to create a new session.
from aiocouch import CouchDB
async with CouchDB(
"http://localhost:5984", user="admin", password="admin"
) as couchdb:
db = await couchdb["recipes"]
doc = await db["apple_pie"]
print(doc["incredients"])
We can also create new recipes, for instance for some delicious cookies.
new_doc = await db.create(
"cookies", data={"title": "Granny's cookies", "rating": "★★★★★"}
)
await new_doc.save()
For further details please refer to the documentation, which is available here on readthedocs.org.
pip install --editable '.[examples]'python examples/getting_started.pypip install --editable '.[tests]'COUCHDB_HOST, COUCHDB_USER, COUCHDB_PASS)pytest --cov=aiocouchpip install '.[docs]'docs directory: cd docsmake htmlDownload counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 4.0.1 | 11 Jul 2025 | 19 |
This describes our collected data; it is not a security assessment.
Observed since 21 Oct, 11:45 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d64c4744f654328972d72e9f77f668bacd62eafee9798249a103b0dd370ebed4