Skip to main content

KV

KV is an async key-value store interface for Python. It provides a simple API to store serializable objects.

pip install python-kv

KV supports multiple backends, including the filesystem, SQLite, Redis, Azure Blob, and many more.

from kv import KV

kv = KV.of('sql+sqlite:///path/to/db.sqlite', type=dict) 

await kv.insert('hello', {'world': 42})
await kv.read('hello') # {'world': 42}
await kv.delete('hello')
async for k, v in kv.items():
  ...
await kv.clear()

Read the docs!

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_kv-0.3.11.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_kv-0.3.11-py3-none-any.whl (25.0 kB view details)

Uploaded Python 3

File details

Details for the file python_kv-0.3.11.tar.gz.

File metadata

  • Download URL: python_kv-0.3.11.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for python_kv-0.3.11.tar.gz
Algorithm Hash digest
SHA256 31692c24fbddb99857b00f05fa82b00a4f6d020f23d095aafa5112097ce3b79b
MD5 f48c35a464823fe28b0bdc456360c094
BLAKE2b-256 e51489d9902a3f15c606ed22ca029cf34fd4941be5eae89bef3551871ca9dc01

See more details on using hashes here.

File details

Details for the file python_kv-0.3.11-py3-none-any.whl.

File metadata

  • Download URL: python_kv-0.3.11-py3-none-any.whl
  • Upload date:
  • Size: 25.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.10

File hashes

Hashes for python_kv-0.3.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a9597e616b8568fe8fed6fc9dd4dc8440e7ef58fcd49fd12dff4e2518bff56ce
MD5 ee9d43a7c0151d904cf6bc35540edb4f
BLAKE2b-256 a34ef745c7f9990f4dcca5a405da8497a1fd99acefcf2c55aba3ee53ebe151d7

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.11 This release

2 files

0.3.10

2 files

0.3.9

2 files

0.3.8

2 files

0.3.7

2 files

0.3.6

2 files

0.3.5

2 files

0.3.4

2 files

0.3.3

2 files

0.3.2

2 files

0.3.0

2 files

0.2.14

2 files

0.2.13

2 files

0.2.12

2 files

0.2.11

2 files

0.2.10

2 files

0.2.9

2 files

0.2.8

2 files

0.2.7

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.2.1

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

1 file

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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