Skip to main content

Key-Value interface over SQLite. Supports any datatype, including JSON and BLOB

Project description

Sqlite Kv (Sync)

Synchronous Key-Value interface over SQLite. Supports any datatype, including JSON and BLOB

Usage

import json
from sqlite_kv import SQLiteKV

api = await SQLiteKV.at(
  db_path='mydb.sqlite', table='my-jsons',
  dtype='JSON', parse=json.loads, dump=json.dumps
)
await api.upsert('my-image', dict(hello='world'))
await api.read('my-image') # dict(hello='world')

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

kv-sqlite-sync-0.1.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

kv_sqlite_sync-0.1.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file kv-sqlite-sync-0.1.3.tar.gz.

File metadata

  • Download URL: kv-sqlite-sync-0.1.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for kv-sqlite-sync-0.1.3.tar.gz
Algorithm Hash digest
SHA256 74b17964eb77e96a434bac55db2a1edcad81e0bdd88df6e8118e9248bfc0a5ba
MD5 81dbc5d47c49c5ce0b8926045e42c466
BLAKE2b-256 16f7135e1fb80c32e1462a1c6d8129fdcc520bb7dd980fc482c1fb9e64e19dcb

See more details on using hashes here.

File details

Details for the file kv_sqlite_sync-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for kv_sqlite_sync-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d584b93953da268f8d2c86722d6b7e100bd1cd54faba7f68ab3c165d6943cc3a
MD5 8b093bebdb3d2e21d6830a51684e444c
BLAKE2b-256 2406b71b429bc3561f185ba1d5f6c52e11fecd28c4c268cf80d273a825ca3c5a

See more details on using hashes here.

Supported by

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