skip to navigation
skip to content

Not Logged In

anykeystore 0.2

A key-value store supporting multiple backends.

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

 
File Type Py Version Uploaded on Size
anykeystore-0.2.tar.gz (md5) Source 2012-03-16 10KB
  • Downloads (All Versions):
  • 103 downloads in the last day
  • 820 downloads in the last week
  • 4297 downloads in the last month