Skip to main content

Generic dictionaryish object storage frontend

Project description

Common object storage frontend that supports dictionary-style access, object serialization and compression, and multiple storage and caching backends.

Supported storage backends out of the box are:

  • DBM

  • Filesystem

  • Memory

  • sqlite (disk or memory)

Current supported caching backends are:

  • Filesystem

  • Memory

  • sqlite (disk or memory)

The simplest shove use case…

>>> from shove import Shove
>>> store = Shove()

…which creates an in-memory store and cache.

Use of other backends for storage and caching involves passing an module URI or existing store or cache instance to shove following the form:

>>> from shove import Shove
>>> <storename> = Shove(<store_uri>, <cache_uri>)

Each module-specific URI form is documented in its module. The URI form follows the URI form used by SQLAlchemy:

http://www.sqlalchemy.org/docs/core/engines.html

shove implements the Python dictionary/mapping API:

http://docs.python.org/lib/typesmapping.html

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

shove-0.6.6.zip (18.2 kB view hashes)

Uploaded source

shove-0.6.6.tar.bz2 (10.7 kB view hashes)

Uploaded source

Built Distribution

shove-0.6.6-py2-none-any.whl (14.8 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page