- name:
verobject
- description:
Version controlled object database on Redis
- Copyright:
- © 2012 Justine Alexandra Roberts Tunney
- license:
MIT
What Is This?
It’s a key value store that keeps copies of past revisions.
Why you should use this
You’ve already deployed Redis
You don’t ever want to lose data
You like pythonic APIs
You want the KVS to automatically pickle (or jsonify) your data
You want something simple (140 source lines of code)
You want something that works (70 lines of test code)
Why you shouldn’t use this
It’s space inefficient. It doesn’t compress revision deltas like git does.
It doesn’t support transactions or fancy save methods like zope
Installation
From folder:
sudo python setup.py install
From cheeseshop:
sudo pip install verobject
From git:
sudo pip install git+git://github.com/jart/verobject.git
Basic Usage
import datetime, verobject, redis
redis = redis.Redis()
table1 = verobject.Store('table1', redis=redis)
table1['hk'] = {'hello': ['kitty', 'kitty', 'kitty']}
table1['ts'] = datetime.date(1984, 10, 31)
print table1['ts'], table1['hk']
del table1['ts']
table1['vc'] = 'version1'
table1['vc'] = 'version2'
table1['vc'] = 'version3'
assert list(table1.versions('vc')) == ['version3', 'version2', 'version1']
assert table1.versions('vc')[0] == 'version3'
assert table1.versions('vc')[-1] == 'version1'
Metadata
Release files for verobject 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| verobject-0.1.4.tar.gz | 4.0 kB | Without provenance | Details for verobject-0.1.4.tar.gz |
Release files / verobject-0.1.4.tar.gz
| Download URL | verobject-0.1.4.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
92636f28c567d1e13f2e442bb6ecaa962d01a666a8f045969da567aca4ee66d7
|
|
BLAKE2b-256 checksum How to use checksums |
c81e6f844b603680ba4ceaeaf0fa73ad1c20a42ca2ed251fea7d8e697bd60f3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for verobject 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.