Skip to main content

A generic interface wrapping multiple different backends to provide a consistent key-value storage API. This library is intended to be used by other libraries that require some form of generic storage.

Usage

from anykeystore import create_store

store = create_store('sqla', url='postgres+psycopg2://bob@localhost/mydb')

settings = {
    'mystore.store': 'sqla',
    'mystore.url': 'mysql://bob@localhost/mydb',
}
store = create_store_from_settings(settings, prefix='mystore.')

Supported Backends

  • memory

  • sqlalchemy

    requires: sqlalchemy

  • mongodb

    requires: pymongo

  • redis

    requires: redis-py

  • memcached

    requires: python-memcached, or python3-memcached

Metadata

Release files for anykeystore 0.2

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

Source distribution (sdist)

Source distribution for anykeystore 0.2
File Size Uploaded
anykeystore-0.2.tar.gz 10.3 kB Details

Release files / anykeystore-0.2.tar.gz

Download URL anykeystore-0.2.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
82ffcd608fea9cfaa903b7731c47a8d36ba346bf49cf98f8dabee83083d08412
BLAKE2b-256 checksum
How to use checksums
aadcc4399c0e6b835710763705220f9c37681683f950678db799a5c7eda9e154
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

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