{ "info": { "author": "Justine Tunney", "author_email": "jtunney@lobstertech.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Database" ], "description": ".. -*-rst-*-\n\n===========\n verobject\n===========\n\n:name: verobject\n:description: Version controlled object database on Redis\n:copyright: \u00a9 2012 Justine Alexandra Roberts Tunney\n:license: MIT\n\n\nWhat Is This?\n=============\n\nIt's a key value store that keeps copies of past revisions.\n\nWhy you should use this\n-----------------------\n\n- You've already deployed Redis\n- You don't ever want to lose data\n- You like pythonic APIs\n- You want the KVS to automatically pickle (or jsonify) your data\n- You want something simple (140 source lines of code)\n- You want something that works (70 lines of test code)\n\nWhy you shouldn't use this\n--------------------------\n\n- It's space inefficient. It doesn't compress revision deltas like git does.\n- It doesn't support transactions or fancy save methods like zope\n\n\nInstallation\n============\n\nFrom folder::\n\n sudo python setup.py install\n\nFrom cheeseshop::\n\n sudo pip install verobject\n\nFrom git::\n\n sudo pip install git+git://github.com/jart/verobject.git\n\n\nBasic Usage\n===========\n\n::\n\n import datetime, verobject, redis\n redis = redis.Redis()\n table1 = verobject.Store('table1', redis=redis)\n\n table1['hk'] = {'hello': ['kitty', 'kitty', 'kitty']}\n table1['ts'] = datetime.date(1984, 10, 31)\n print table1['ts'], table1['hk']\n del table1['ts']\n\n table1['vc'] = 'version1'\n table1['vc'] = 'version2'\n table1['vc'] = 'version3'\n assert list(table1.versions('vc')) == ['version3', 'version2', 'version1']\n assert table1.versions('vc')[0] == 'version3'\n assert table1.versions('vc')[-1] == 'version1'", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/jart/verobject", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "verobject", "package_url": "https://pypi.org/project/verobject/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/verobject/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jart/verobject" }, "release_url": "https://pypi.org/project/verobject/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Version controlled object database on Redis", "version": "0.1.4" }, "last_serial": 801376, "releases": { "0.1.4": [ { "comment_text": "", "digests": { "md5": "761cc8e692f9a4c6bc8ab06719b42baa", "sha256": "92636f28c567d1e13f2e442bb6ecaa962d01a666a8f045969da567aca4ee66d7" }, "downloads": -1, "filename": "verobject-0.1.4.tar.gz", "has_sig": false, "md5_digest": "761cc8e692f9a4c6bc8ab06719b42baa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4014, "upload_time": "2012-01-28T03:28:59", "url": "https://files.pythonhosted.org/packages/c8/1e/6f844b603680ba4ceaeaf0fa73ad1c20a42ca2ed251fea7d8e697bd60f3a/verobject-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "761cc8e692f9a4c6bc8ab06719b42baa", "sha256": "92636f28c567d1e13f2e442bb6ecaa962d01a666a8f045969da567aca4ee66d7" }, "downloads": -1, "filename": "verobject-0.1.4.tar.gz", "has_sig": false, "md5_digest": "761cc8e692f9a4c6bc8ab06719b42baa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4014, "upload_time": "2012-01-28T03:28:59", "url": "https://files.pythonhosted.org/packages/c8/1e/6f844b603680ba4ceaeaf0fa73ad1c20a42ca2ed251fea7d8e697bd60f3a/verobject-0.1.4.tar.gz" } ] }