Skip to main content

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.

Install

pip install aio_crud_store

Usage

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 store.read(foo='bar')

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

# delete
await store.delete(id)

Release files for aio_crud_store 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aio_crud_store 0.0.2
File Size Uploaded
aio_crud_store-0.0.2.tar.gz 3.5 kB Details

Release files / aio_crud_store-0.0.2.tar.gz

Download URL aio_crud_store-0.0.2.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8691417a2ac342881417591e93cf059536fb3f74dbe5c83a5a373c0d3a6bc927
BLAKE2b-256 checksum
How to use checksums
f942225341da74ae8cedf82f49abbb4b3685fae327625f5713e75d18c4b13b56
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page