anykeystore-0.2
توضیحات
A key-value store supporting multiple backends.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | anykeystore-0.2 |
| نام | anykeystore |
| نسخه کتابخانه | 0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Michael Merickel |
| ایمیل نویسنده | oss@m.merickel.org |
| آدرس صفحه اصلی | UNKNOWN |
| آدرس اینترنتی | https://pypi.org/project/anykeystore/ |
| مجوز | MIT |
===========
anykeystore
===========
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
نحوه نصب
نصب پکیج whl anykeystore-0.2:
pip install anykeystore-0.2.whl
نصب پکیج tar.gz anykeystore-0.2:
pip install anykeystore-0.2.tar.gz