Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

Common object storage frontend.

Project description

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
  • Berkeley Source Database
  • Filesystem
  • Firebird
  • FTP
  • DBM
  • Durus
  • Memory
  • Microsoft SQL Server
  • MySQL
  • Oracle
  • PostgreSQL
  • SQLite
  • Subversion
  • Zope Object Database (ZODB)

Currently supported caching backends are:

  • Filesystem
  • Firebird
  • memcached
  • Memory
  • Microsoft SQL Server
  • MySQL
  • Oracle
  • PostgreSQL
  • SQLite

The simplest shove use case is:

from shove import Shove

store = Shove()

which creates an in-memory store and cache.

To use another backend for storage or caching, a configuration URI or an existing store or cache instance is passed to shove using the form:

from shove import Shove

<storename> = Shove(<store_uri>, <cache_uri>)

The URI format for a backend is documented in its module. The URI form is the same as SQLAlchemy’s:

http://www.sqlalchemy.org/docs/04/dbengine.html#dbengine_establishing

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.

Filename, size & hash SHA256 hash help File type Python version Upload date
shove-0.2.1-py2.5.egg (107.7 kB) Copy SHA256 hash SHA256 Egg 2.5
shove-0.2.1.tar.bz2 (19.1 kB) Copy SHA256 hash SHA256 Source None
shove-0.2.1.tar.gz (21.7 kB) Copy SHA256 hash SHA256 Source None
shove-0.2.1.win32.exe (116.5 kB) Copy SHA256 hash SHA256 Windows Installer any
shove-0.2.1.zip (56.9 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page