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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
File details
Details for the file shove-0.2.2.zip
.
File metadata
- Download URL: shove-0.2.2.zip
- Upload date:
- Size: 57.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd0340f82a0c6a58a1514f5d09b7a19c60bd78a9007def41e1cd78d7a9ab559a |
|
MD5 | 56140083840447cc797caebddd300cc8 |
|
BLAKE2b-256 | 05581f184c5dde0af72a0e6b1c44136e59f1c95337d10ec87f6375c94405a5d7 |
Provenance
File details
Details for the file shove-0.2.2.tar.gz
.
File metadata
- Download URL: shove-0.2.2.tar.gz
- Upload date:
- Size: 22.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b706b53afb6b393252628cff61720c92d33d4222f18bfbd2d0797ef47063fe05 |
|
MD5 | 5b6571e5342ad3cb6909ed136d5ed7f1 |
|
BLAKE2b-256 | 16ef412028f364b03d0efb423adc2cb582ea72a51b013bb9eb902b10f8933cbc |
Provenance
File details
Details for the file shove-0.2.2.tar.bz2
.
File metadata
- Download URL: shove-0.2.2.tar.bz2
- Upload date:
- Size: 19.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da8b5dcb567e0c63142ee45d17ef69b47285c3023c74c58e47a3e0fbdc6b24b1 |
|
MD5 | ce52f4951dfad87f3d1848577d9d78ff |
|
BLAKE2b-256 | 59f364be37f01afc636dc5ddc68fb193e261d722eb943119f15306a992f118f4 |