A key-value store supporting multiple backends.
Project description
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 = {
'anykey.store': 'sqla',
'anykey.store.sqla.url': 'mysql://bob@localhost/mydb',
}
store = create_store_from_settings(settings, prefix='anykey.')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anykeystore-0.1a1.tar.gz
(5.0 kB
view hashes)