skip to navigation
skip to content

Not Logged In

shove 0.5.0

Common object storage frontend

Latest Version: 0.5.6

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

Currently supported storage backends are:

  • Amazon S3 Web Service
  • Apache Cassandra
  • Berkeley Source Database
  • DBM
  • Durus
  • FTP
  • Filesystem
  • Firebird
  • git
  • HDF5
  • LevelDB
  • Memory
  • Mercurial
  • Microsoft SQL Server
  • MongoDB
  • MySQL
  • Oracle
  • PostgreSQL
  • Redis
  • SQLite
  • Subversion
  • Zope Object Database (ZODB)

Currently supported caching backends are:

  • Filesystem
  • Firebird
  • Memory
  • Microsoft SQL Server
  • MySQL
  • Oracle
  • PostgreSQL
  • Redis
  • SQLite
  • memcache

The simplest shove use case is:

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

which creates an in-memory store and cache.

The 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 fully implements the Python dictionary/mapping API:

http://docs.python.org/lib/typesmapping.html
 
File Type Py Version Uploaded on Size
shove-0.5.0.tar.bz2 (md5) Source 2012-06-20 15KB
shove-0.5.0.tar.gz (md5) Source 2012-06-20 18KB
shove-0.5.0.zip (md5) Source 2012-06-20 31KB
  • Downloads (All Versions):
  • 275 downloads in the last day
  • 1679 downloads in the last week
  • 6017 downloads in the last month