Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Database > Database APIs

    verobject 0.1.4

    Download button

    No screenshots available
    Downloads: 45  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Justine Tunney | More programs
    MIT/X Consortium Lic... / FREE
    January 31st, 2012, 11:37 GMT
    ROOT / Database / Database APIs

     Read user reviews (0)  Refer to a friend  Subscribe

    verobject description

    Version controlled object database on Redis

    verobject is 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'



    Product's homepage

    Requirements:

    · Python

      


    TAGS:

    object database | version controlled | Redis | object | database



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM