Saturday, August 01, 2009

pytyrant

>>> import pytyrant
>>> t = pytyrant.PyTyrant.open('127.0.0.1', 1978)
>>> t['__test_key__'] = 'foo'
>>> t.concat('__test_key__', 'bar')
>>> print t['__test_key__']
foobar
>>> del t['__test_key__']

obvious no?

from http://code.google.com/p/pytyrant/

No comments: