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.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: kv-sqlite-sync-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5c1b0e68e70a42d823c70c079644e8ebc314942c297181354662d2f07c32413f
MD5 6b617b958e80ee4b99b70b15bd254943
BLAKE2b-256 97f00a45d5e637cfbbd0c929e6a2de4325cd529d65e1c76e3ef750999c4b4f29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kv_sqlite_sync-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 808ebe80e57c6963042e114a5e5d7217e4c81b7064215ba1f682dd61103c4969
MD5 fb06323f07e6a8e3e097be2c2dbd9e4a
BLAKE2b-256 224c18cea305796671fda78b9b15e26949c2c7b4ca986061fb880967f879a2d9

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