OOmadness
[56] OOmadness / Cerealizer
Cerealizer : Benchmark - Download - Reference documentation
Jiba
Cerealizer is a Python module that allows to save objects in file. Its interface is similar to Pickle, however Cerealizer is safe. Morover, it is written in about 300 lines of Python code only, which reduces the risk of potential bugs or security holes.

It support basic types (int, string, unicode, tuple, list, dict, set,...), old and new-style classes (you need to register the class for security), object cycles, and it can be extended to support C-defined type.

Cerealizer is available under the Python license.
(add comment, add sub-topic, edit, archives, rss)
Jiba, 08/04/2008
Cerealizer 0.7 is out!

It now allows to dump() things repeatedly to a stream or file, and then load() things repeatedly out of it.

Many thanks to Peter Eckersley !
Jiba, 06/09/2006
Long support added (I was sure I was missing something in 0.3... :-).
Jiba, 06/07/2006
This new version use a less-restrictive license, and add support more Pickle's feature. Changelog:
  • Change licence, from GPL to Python licence (since I believe Cerealizer would be a nice addition to Python Standard distribution)
  • Support for __getinitargs__ and __getnewargs__
  • Support for complex, frozenset and __slots__'ed objects
  • Better error handling
Jiba, 05/21/2006
The 0.2 release of Cerealizer, a secure Pickle-like module, is much faster than the previous release. On Soya's (voluminous) objects, Cerealizer boosted by Psyco now achieves similar performances than cPickle... although Cerealizer is written in less than 300 lines of pure-Python code!
Jiba, 03/04/2006
First release!