Skip to main content

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

  • Apache Cassandra

  • Memory

  • Filesystem

  • Firebird

  • FTP

  • DBM

  • Durus

  • Microsoft SQL Server

  • MySQL

  • Oracle

  • PostgreSQL

  • Redis

  • SQLite

  • Subversion

  • Zope Object Database (ZODB)

Currently supported caching backends are:

  • Memory

  • Filesystem

  • Firebird

  • memcache

  • 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.

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>)

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

http://www.sqlalchemy.org/docs/dbengine.myt#dbengine_establishing

shove fully implements the Python dictionary/mapping API:

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

Differences between 0.1 and 0.1.1

  • updated to work with SQLAlchemy 0.4.x

Differences between 0.1.1 and 0.1.2

  • updated to work with boto 1.x

Differences between 0.1.2 and 0.1.3

  • better clean up of file handlers for filesystem based storage and caching (per Larry Meyn)

What’s new with 0.2.1

  • Cleanup

  • Bunch of suggestions from Kevin Dangoor

What’s new with 0.2.2

  • remove hardcoded dependencies of dusty antiquity

  • allow override of pickle protocol (per Ling Li)

What’s new with 0.3.0

  • Redis support for store

  • Apache Cassandra support for store (deletion is eventually consistent)

What’s new with 0.3.1

  • fix wrong keyword in store tests (per Ling Li)

What’s new with 0.3.2

  • make key exceptions work with tuples (per Ling Li)

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.3.2.zip (58.2 kB view details)

Uploaded Source

shove-0.3.2.tar.gz (19.6 kB view details)

Uploaded Source

shove-0.3.2.tar.bz2 (16.4 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

shove-0.3.2-py2.7.egg (108.9 kB view details)

Uploaded Egg

shove-0.3.2-py2.6.egg (109.1 kB view details)

Uploaded Egg

File details

Details for the file shove-0.3.2.zip.

File metadata

  • Download URL: shove-0.3.2.zip
  • Upload date:
  • Size: 58.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for shove-0.3.2.zip
Algorithm Hash digest
SHA256 835fab49889204cc750381f006d9dc98820560320975844b67152823e3757be9
MD5 f81df66cbe239598f836f3e4466ff716
BLAKE2b-256 a4b89063af35038bb05fabe9acb28fd542daa253eed43b3ea8ee346e3d6b8e7f

See more details on using hashes here.

File details

Details for the file shove-0.3.2.tar.gz.

File metadata

  • Download URL: shove-0.3.2.tar.gz
  • Upload date:
  • Size: 19.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for shove-0.3.2.tar.gz
Algorithm Hash digest
SHA256 e565b00bbb3ed3ae3f8277d2480ebc3289a9704f645c70e75a8c9733931513f8
MD5 10489d8c63c0e15136a8a86434e51acd
BLAKE2b-256 f8b818af08ae552146c5f27c95da478a51439e36db846422fd1936e4748997c7

See more details on using hashes here.

File details

Details for the file shove-0.3.2.tar.bz2.

File metadata

  • Download URL: shove-0.3.2.tar.bz2
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for shove-0.3.2.tar.bz2
Algorithm Hash digest
SHA256 848799974090a43f42863ff1049dd8e91320b74b7b7ea0bc6673401d8eeaaf44
MD5 af9ee80ee72f59d8b06559fd564e6f1c
BLAKE2b-256 eedf16c88075c49660ee65c5ddadc8dc0a29dae07030898e2a05423afe074f55

See more details on using hashes here.

File details

Details for the file shove-0.3.2-py2.7.egg.

File metadata

  • Download URL: shove-0.3.2-py2.7.egg
  • Upload date:
  • Size: 108.9 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for shove-0.3.2-py2.7.egg
Algorithm Hash digest
SHA256 4ac3525f94ecb753b0a900edad77617fb0bb285b552ef03035266ed02160a0a4
MD5 e03824f720a5052d77cd281af61127d8
BLAKE2b-256 ed8c34a16d5f08183933690bd04be9cbdf95a8d17febb6d41fc3c05566b305ad

See more details on using hashes here.

File details

Details for the file shove-0.3.2-py2.6.egg.

File metadata

  • Download URL: shove-0.3.2-py2.6.egg
  • Upload date:
  • Size: 109.1 kB
  • Tags: Egg
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for shove-0.3.2-py2.6.egg
Algorithm Hash digest
SHA256 09fd0e179e22e65b50defbaca24ebd93ac9254b1a92ee5689f2bdcd65c635c49
MD5 82148af667578f701356900d56da798b
BLAKE2b-256 76fd94e1f61748026cbff39499e1f3cbddbe9d7f934ffd642c357d0636b2a187

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page