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)

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

Uploaded Source

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

Uploaded Source

shove-0.3.1.tar.bz2 (16.3 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.1-py2.7.egg (109.0 kB view details)

Uploaded Egg

shove-0.3.1-py2.6.egg (109.3 kB view details)

Uploaded Egg

File details

Details for the file shove-0.3.1.zip.

File metadata

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

File hashes

Hashes for shove-0.3.1.zip
Algorithm Hash digest
SHA256 4a7524401e8e7fa5b0a46cd382864867906a5d016c420902816d614bf9cda002
MD5 c8d89476507a2ed27611b0e5b8f86f2a
BLAKE2b-256 3838e3548d13c6b0baab575af6100243a52edc0916fef0130081339acf8bb30c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shove-0.3.1.tar.gz
Algorithm Hash digest
SHA256 61fb4daa3c6da4c095ce0edd073301a8e441033486e6274750aa31cc7bfe7c89
MD5 c438453323ee80a95d32ce6cc42905f0
BLAKE2b-256 0bdb14b8331fd8a3ed32069038aeefe07829778e461da7de994ada21e4c4cb73

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shove-0.3.1.tar.bz2
Algorithm Hash digest
SHA256 3f82f178d9fe14cb1b499c1208eeae96335590e515c5e56ce06e9dd5d514e922
MD5 b4ad666e193aa088409fc99329dfff09
BLAKE2b-256 14df582283767d83591620399461155239f98a8193d478bf75fb409ec73756b0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shove-0.3.1-py2.7.egg
Algorithm Hash digest
SHA256 8f4205db96677a2996859ed76c0353cced7564bfed35e58788c35b17260370c0
MD5 a4e31a28152de9fdf96b17e8baef7fc6
BLAKE2b-256 d1cec15802edc71ece0652f9e1f4c279f04e0403dbca2d9964d419de5ab38267

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for shove-0.3.1-py2.6.egg
Algorithm Hash digest
SHA256 ab4fb383043785f67d84194f065be1da44d5369375b50a96235450295432c4e9
MD5 586136fb984df2342b60be9c196769d2
BLAKE2b-256 41cfce48610e26c5f5a7538f7db960075642566a5b178e66e7976e9c774b6d88

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