skip to navigation
skip to content

Not Logged In

shove 0.6.4

Generic dictionaryish object storage frontend

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
 
File Type Py Version Uploaded on Size
shove-0.6.4-py2-none-any.whl (md5) Python Wheel 2.7 2015-08-20 18KB
shove-0.6.4-py3-none-any.whl (md5) Python Wheel 3.5 2015-08-20 18KB
shove-0.6.4.tar.bz2 (md5) Source 2015-08-20 10KB
shove-0.6.4.tar.gz (md5) Source 2015-08-20 11KB
shove-0.6.4.zip (md5) Source 2015-08-20 17KB
  • Downloads (All Versions):
  • 142 downloads in the last day
  • 1431 downloads in the last week
  • 9215 downloads in the last month