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 500 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. It now supports both Python 2.x and Python 3.3!
(add comment, add sub-topic, edit, archives, rss)
Jiba, 11/11/12
Cerealizer 0.8 is out!

This new version supports both Python 2.x and Python 3.x! Get it here: http://download.gna.org/soya/Cerealizer-0.8.tar.bz2
Jiba, 04/08/08
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, 09/06/06
Long support added (I was sure I was missing something in 0.3... :-).
Jiba, 07/06/06
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, 21/05/06
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, 04/03/06
First release!
Jiba, 01/01/06
Long support added (I was sure I was missing something in 0.3... :-).
Jiba, 01/01/06
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, 01/01/06
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, 01/01/06
First release!