$npx skillfedfor your agent

py-serializable

Library for serializing and deserializing Python Objects to and from JSON and XML.

Worth itPyPI Software DevelopmentReleased Jul 202534.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — py_serializable-2.1.0-py3-none-any.whl
v2.1.0 · released 2025-07-21 · Python <4.0,>=3.8 · 1 runtime deps: defusedxml

Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and installs with minimal friction. It fills a clear niche for developers who need property-based serialization to JSON and XML without heavy dependencies or complex configuration. Suitable for production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a single runtime dependency (defusedxml).
  • Actively maintained with recent commits and classified as Production/Stable.

License · maintenance · safety

Apache-2.0 (permissive) — Apache 2.0 is permissive; you can use, modify, and redistribute this package freely in most contexts, including commercial projects, provided you include the license notice.

last release 2025-07-21 (389 days) · last repo commit 2026-04-15 · 7 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 34,429,527 downloads/mo, #760 on PyPI

Verify before relying

pip install py-serializable

import py_serializable
# Define a class with Python Properties and use the serialization framework
  • Whether the framework requires specific decorator patterns or class structure beyond using Python Properties
  • Performance characteristics when serializing large or deeply nested object graphs
  • Support for custom type handlers or extension mechanisms for non-standard Python types
Same gist for agents: .md · .json

What it is and what it does

py-serializable provides a Pythonic framework for converting Python objects to and from JSON and XML representations. It works by leveraging Python Properties in your classes to define serializable attributes, handling the conversion logic automatically. The library sits between your object model and these text formats, letting you define what should be serialized through standard Python property definitions rather than requiring separate schema or configuration files.

The package depends on defusedxml for safe XML parsing, supports Python 3.8 through 3.13, and is actively maintained. It's positioned as a general-purpose serialization tool for applications that need bidirectional conversion between Python objects and JSON or XML—useful in data pipelines, API integrations, configuration management, or any scenario where you need to persist or transmit Python objects in these formats.

Use it for

  • Convert Python data models to JSON for REST API responses or configuration files
  • Deserialize XML documents into typed Python objects for processing structured data
  • Persist complex Python objects to JSON or XML and reload them later
  • Build data transformation pipelines that move objects between Python and external systems
  • Define serializable Python classes for inter-service communication in microservices

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, carries a permissive license, and installs with minimal friction. It fills a clear niche for developers who need property-based serialization to JSON and XML without heavy dependencies or complex configuration. Suitable for production use.

Install

py-serializable on PyPI

Before you install

Low install friction with a single runtime dependency (defusedxml). Actively maintained with recent commits and classified as Production/Stable.

License in practice

Apache 2.0 is permissive; you can use, modify, and redistribute this package freely in most contexts, including commercial projects, provided you include the license notice.

Quickstart

pip install py-serializable

import py_serializable
# Define a class with Python Properties and use the serialization framework

Verify before relying

  • Whether the framework requires specific decorator patterns or class structure beyond using Python Properties
  • Performance characteristics when serializing large or deeply nested object graphs
  • Support for custom type handlers or extension mechanisms for non-standard Python types

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
defusedxml
MaintenanceActively maintained 389 days since the last release
Last repo commit
First released
Downloads34,429,527 / month, #760 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTyping :: Typed

Evidence: py_serializable-2.1.0-py3-none-any.whl

Tags

Capabilities
python object serialization json xmlserialize deserialize python classesjson xml conversion pythonpython property-based serializationobject to json xmlpython class serialization framework
Topics
serializationdata-format-conversion
PyPI keywords
serializationdeserializationJSONXML

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “python object serialization json xml”

  • py-serializableSerializes and deserializes Python classes to and from JSON and XML…
  • django-tastypiedjango-tastypie provides a REST API framework for Django that…
  • dicttoxmlConverts Python dictionaries and other native data types into valid…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also xml-python · pydantic-xml · json-strong-typing · jxmlease · yamlable · orjson · dicttoxml · javaobj-py3 · pycomposefile · xmltodict