shove 0.4.0
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
- Apache Cassandra
- Berkeley Source Database
- DBM
- Durus
- FTP
- Filesystem
- Firebird
- LevelDB
- Memory
- Microsoft SQL Server
- MySQL
- Oracle
- PostgreSQL
- Redis
- SQLite
- Subversion
- Zope Object Database (ZODB)
Currently supported caching backends are:
- Filesystem
- Firebird
- Memory
- Microsoft SQL Server
- MySQL
- Oracle
- PostgreSQL
- SQLite
- memcache
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>)
Each module-specific URI form is documented in its module. The URI form follows the URI form used by SQLAlchemy:
http://www.sqlalchemy.org/docs/core/engines.html
shove fully implements the Python dictionary/mapping API:
http://docs.python.org/lib/typesmapping.html
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| shove-0.4.0.tar.bz2 (md5) | Source | 2012-01-26 | 15KB | 204 | |
| shove-0.4.0.tar.gz (md5) | Source | 2012-01-26 | 17KB | 282 | |
| shove-0.4.0.zip (md5) | Source | 2012-01-26 | 40KB | 925 | |
- Author: L. C. Rees
- Home Page: https://bitbucket.org/lcrees/shove/
- Keywords: object storage persistence database shelve
- License: BSD
-
Categories
- Development Status :: 4 - Beta
- Environment :: Web Environment
- License :: OSI Approved :: BSD License
- Operating System :: OS Independent
- Programming Language :: Python
- Programming Language :: Python :: 2.5
- Programming Language :: Python :: 2.6
- Programming Language :: Python :: 2.7
- Topic :: Database :: Front-Ends
- Package Index Owner: lcrees
- DOAP record: shove-0.4.0.xml
