Skip to main content

link.kvstore is a database agnostic key/value store API.

See documentation for more informations.

License Development Status Latest release Supported Python versions Supported Python implementations Download format Build status Code test coverage Downloads Code Health

Installation

pip install link.kvstore

Features

  • database agnostic

  • dict API to access key/value store

Examples

Getting a backend:

from link.middleware.core import Middleware

# Instanciate a K/V store with Riak backend
store = Middleware.get_middleware_by_uri(
    'kvstore+riak://localhost:8087/mybuckettype/mybucket?protocol=pbc'
)
# Instanciate a K/V store with SQL backend
store = Middleware.get_middleware_by_uri(
    'kvstore+sql://localhost:5432/database/table'
)

Accessing data:

store['foo'] = 'bar'
assert store['foo'] == 'bar'
assert 'foo' in store

for key in store:
    print(key)

del store['foo']

Donating

Support via Liberapay

Release files for link.kvstore 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for link.kvstore 1.0
File Size Uploaded
link.kvstore-1.0.tar.gz 5.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for link.kvstore 1.0
File Interpreter ABI Platform
link.kvstore-1.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 13.0 kB

Release files / link.kvstore-1.0.tar.gz

Download URL link.kvstore-1.0.tar.gz
Size 5.4 kB
Tags Source
SHA-256 checksum
How to use checksums
1c739b3b95c93b1096b67c19cb644969702fd1c564d26e8746ddb99b79aa22b2
BLAKE2b-256 checksum
How to use checksums
3c90904d4f1828f9e6fc0e0aaa6220db4ddb08c40796deb67bfa8e8a7312d7ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / link.kvstore-1.0-py2.py3-none-any.whl

Download URL link.kvstore-1.0-py2.py3-none-any.whl
Size 7.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
eecccbd81ecb8cefa4eb046787b663ecb1ea8346694aa8c27e37a361dbfdcd81
BLAKE2b-256 checksum
How to use checksums
52ef93278c6704d7d342cc0e39ed07b4e452f94d4d7a0c72b964b8365bd10f1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

0.12

2 release files

0.11

2 release files

0.10

2 release files

0.9

2 release files

0.8

2 release files

0.7

2 release files

0.6

2 release files

0.5

2 release files

0.4

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page