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

Uploaded Source

Built Distribution

kv_sqlite_sync-0.1.6-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file kv_sqlite_sync-0.1.6.tar.gz.

File metadata

  • Download URL: kv_sqlite_sync-0.1.6.tar.gz
  • Upload date:
  • Size: 3.8 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.6.tar.gz
Algorithm Hash digest
SHA256 f969336b2ab1484ac57211bd54e6687422cc029ba4f754fcc4f6be3f21c28224
MD5 5d9a87e452b9b17baf9e07d3d76450ea
BLAKE2b-256 1687deeb2134724007529f2fea229f51c7c103ec65cc5b8c20b4ede6068dbb15

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kv_sqlite_sync-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 461b7befe947ceba85a9c10b02a3e17e566da3dd612ced78e64df71a445ae431
MD5 58a65e9d74bc6cdc4088443710a8b1e5
BLAKE2b-256 8b86875ed2c1bdb65e49c997ce7bc0e78bcfe938f33a7b9a10aa5547a222cba5

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