Skip to main content

A small subset of dbs capabilities to write dbs-independent asyncio libs

Project description

A very simple subset of databases capabilities intended to use most of dbs the same way. You can use it to write database independent asyncio libraries.

It currently supports mongodb (through motor) and postrgresql (through aiopg), please feel free to add other dbs implementations.


pip install aio_crud_store


The api is very simple and obvious (I hope). The working examples are in examples directory.

# create
id = await store.create({'foo': 'bar'})

# read
doc = await'bar')

# update
await store.update(id, {'foo': 'baz', 'spam': 1})

# delete
await store.delete(id)

Project details

Download files

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

Files for aio_crud_store, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size aio_crud_store-0.0.2.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page