--- id: py-serializable version: "2.1.0" license: Apache-2.0 license_treatment: permissive maintenance: active --- # py-serializable — Library for serializing and deserializing Python Objects to and from JSON and XML. License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install py-serializable uv add py-serializable poetry add py-serializable ## Description # py-serializable [![shield_pypi-version]][link_pypi] [![shield_conda-forge-version]][link_conda-forge] [![shield_rtfd]][link_rtfd] [![shield_gh-workflow-test]][link_gh-workflow-test] [![shield_license]][license_file] [![shield_twitter-follow]][link_twitter] ---- This Pythonic library provides a framework for serializing/deserializing Python classes to and from JSON and XML. It relies upon the use of [Python Properties](https://docs.python.org/3/library/functions.html?highlight=property#property) in your Python classes. Read the full [documentation][link_rtfd] for more details. ## Installation Install this from [PyPi.org][link_pypi] using your preferred Python package manager. Example using `pip`: ```shell pip install py-serializable ``` Example using `poetry`: ```shell poetry add py-serializable ``` ## Usage See the full [documentation][link_rtfd] or our [unit tests][link_unit_tests] for usage and details. ## Python Support We endeavour to support all functionality for all [current actively supported Python versions](https://www.python.org/downloads/). However, some features may not be possible/present in older Python versions due to their lack of support. ##... ## AI interpretation — verify before relying py-serializable provides a framework for converting Python classes to and from JSON and XML by leveraging Python Properties, enabling easy serialization and deserialization of object hierarchies. Verdict: py-serializable is a stable, actively maintained library for JSON/XML serialization backed by a permissive Apache-2.0 license and minimal dependencies. No known vulnerabilities, low install friction, and broad Python version support (3.8–3.13) make it a low-risk choice for object serialization workflows. [View on SkillFed](https://skillfed.io/packages/py-serializable) · [View on PyPI](https://pypi.org/project/py-serializable/)