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

Uploaded Source

Built Distribution

kv_sqlite_sync-0.1.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: kv_sqlite_sync-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 36db3663a440fbdc178dc0f9e76e27d98728aea51de3cbd789ea9be97058edb1
MD5 1b6ac960f4ae592052620d821a6e13c3
BLAKE2b-256 886f6e50965bce2e0ca33f49cb0dc9149d92bf6e6c0e075925996256feed2a89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kv_sqlite_sync-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 814fc6e0922c160773c31d76a89abc23c14d6cae817745fc8f1b38d21e212cda
MD5 d8aa1a2026e67d739acd01d3200c374f
BLAKE2b-256 4ffa9dc140745b0e4973fb16cfa2363578600ca5be8660f1f386ccbf1c1f3238

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