Friday, August 14, 2009

Pyrant

Pyrant (http://code.google.com/p/pyrant/) is a fork of pytyrant that supports the TokyoCabinet table data store. Still in beta, but more actively developed than pytyrant.

recession proof graduate

http://www.slideshare.net/ramit/recessionproof-graduate-1722975

Interesting. Especially since it comes from a 22 year old.

Thursday, August 13, 2009

Socal-piggies

Great get-together at the socal-piggies meeting today!

Cool presentation on some tools Dan Stromberg put together (pnetcat, looper), and a nice demo of TokyoCabinet+TokyoTyrant+pytyrant+restish by Grig Gheorghiu, following a retailed presentation, also by Grig, and discussion about REST for those in the meeting who had not been exposed to it.

There was a discussion on whether is was ever appropriate to expose (db) transactions as REST URI. Grig Spoke highly of RESTFul Web Services by Leonard Richardson and Sam Ruby.

I passed around some back issues of Python Magazine encouraging people to take the ones they would find interesting, and about half were taken. I'll bring them to the next meeting and hopefully they will all be gone!

I also promised Grig that I would do a socal-piggies presentation on the backend for grabatask.com that I am building. It involves an API in FAPWS with pytyrant that stores and retrieved data from TokyoCabinet throught TokyoTyrant.

I personally liked the discussion on how to use TokyoCabinet tables from within python. Great stuff!

Thursday, August 06, 2009

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/