Menu

y_serial: warehouse Py objects w/ SQLite / News: Recent posts

UPDATE y_serial: warehouse Python objects w/ SQLite

If your Python program requires data persistance, then y_serial is a module which should be worth importing. Objects are warehoused in a single database file in the most compressed form possible. Steps for insertion, organization by annotation, and finally retrieval are amazingly simple... [v0.19 just released, see http://yserial.sourceforge.net ]

Posted by Adriano 2009-09-10

UPDATE y_serial: warehouse Python objects w/ SQLite

Thumbs up :: this essentially unifies standard modules: sqlite3, zlib, gzip, cPickle -- to compress Python objects (such as a dictionaries, lists, and classes) for persistance in a SQL database -- fast access in a few lines of code. Easy to maintain all objects under (project) tables in a *single* compact database file. Helpful examples, functions, and comments: annotate Python objects into SQLite; then retrieve them chronologically by keywords without any SQL. A very useful module for a database storing schema-less data; see https://sourceforge.net/projects/yserial/

Posted by Adriano 2009-09-07