shove 0.1.3
Common object storage frontend.
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
| File | Type | Py Version | Size | # downloads |
|---|---|---|---|---|
| shove-0.1.3-py2.5.egg (md5) | Python Egg | 2.5 | 89KB | 52 |
| shove-0.1.3.tar.bz2 (md5) | Source | 14KB | 22 | |
| shove-0.1.3.tar.gz (md5) | Source | 16KB | 29 | |
| shove-0.1.3.win32.exe (md5) | MS Windows installer | any | 105KB | 21 |
| shove-0.1.3.zip (md5) | Source | 47KB | 30 | |
- Author: L. C. Rees <lcrees at gmail com>
- Home Page: http://pypi.python.org/pypi/shove/
- Keywords: object storage persistence database shelve
- License: BSD
- Categories
- Package Index Owner: lcrees
- DOAP record: shove-0.1.3.xml
