{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/15"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"}],"enrichment":{"capability":"Generates reproducible string representations of Python objects that can be eval'd back into equivalent instances, and serializes object graphs to importable Python files.","skillfed_tags":["serialization","repr-based","abandoned"],"use_cases":["Store application configuration or cached object state as importable Python files instead of binary formats.","Serialize test fixtures or example data in a format that's both machine-readable and human-editable.","Debug object hierarchies by inspecting their eval-safe repr output before deciding whether to persist them.","Generate Python code that reconstructs complex object graphs without requiring pickle at load time."],"what_it_does":"Renew is a serialization library that makes Python objects produce eval-safe repr strings\u2014strings that, when passed to eval(), recreate equivalent objects. Unlike pickle, which produces binary data, renew generates pure Python code that can be read, edited, and imported as a module. You define a class inheriting from renew.Mold, ensure its __init__ arguments are stored as same-named attributes, and renew automatically generates a reproducible __repr__. You can then call renew.serialize() to write object graphs to a Python file with proper imports and formatting.\n\nThe main constraint is structural: your class must store constructor arguments as attributes with matching names, and variadic/keyword arguments must be stored in specific container types (tuple, list, set, OrderedDict for args; dict or OrderedDict for kwargs). This design trades flexibility for transparency\u2014the resulting code is human-readable and can serve as a lightweight alternative to pickle for scenarios where you want to inspect or manually edit serialized state.","worth_installing":"No. The package is abandoned (last release 2019-06-03) with no ongoing maintenance. While it has no known vulnerabilities and low install friction, the lack of updates means it will not receive bug fixes or compatibility patches for newer Python versions. For new projects, consider maintained alternatives."},"id":"renew","links":{"html":"https://skillfed.io/packages/renew","md":"https://skillfed.io/packages/renew.md","pypi":"https://pypi.org/project/renew/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-06-03","license_spdx":null,"license_treatment":"permissive","name":"renew","python_support":"unspecified","summary":"Gives a reproducible manner to your objects and can serialize them in 100% pythonic format."},"popularity":{"monthly_downloads":141200,"position":11247,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.5.4"}
