A Python library for reproducible object serialization in a 100% Pythonic format. It provides a consistent way to represent Python objects, enabling easy reconstruction and debugging. Current version: 0.5.4. Release cadence: low, with no recent releases.
pip install renewNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: serialize an object with renew.renew() and reconstruct with rebuild().
Consider alternatives like dill or cloudpickle for serialization.
Ensure your class has a simple __init__ that directly assigns arguments to attributes. Test serialization on your objects.
Never rebuild untrusted serialized data. Use a sandbox or avoid using rebuild if data origin is not secure.
Run 'pip install renew' in your environment.
Correct import: 'import renew' then use 'renew.renew()'.
Simplify the object's __init__ to directly assign all attributes from arguments. For complex objects, consider using dill or pickle.