$npx skillfedfor your agent

jschema-to-python

Generate source code for Python classes from a JSON schema.

SkipPyPI Python ModulesReleased Oct 20192.7M downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — jschema_to_python-1.2.3-py3-none-any.whl
v1.2.3 · released 2019-10-05 · Python >= 2.7 · 3 runtime deps: attrs, jsonpickle, pbr

No—install only if you are locked into an older Python environment and have no alternative. The package is abandoned with no maintenance since 2022, no releases since 2019, and no guarantee of compatibility with modern Python. For new projects, use maintained alternatives like dataclasses-json, pydantic, or marshmallow-jsonschema instead.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >= 2.7; the package targets older Python versions and may have compatibility issues with modern Python releases.
  • Low install friction with three straightforward runtime dependencies.
  • However, the package is abandoned—last commit was 2022-10-25 and no releases since 2019-10-05.

License · maintenance · safety

MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute this code freely as long as you include the license notice.

last release 2019-10-05 (2505 days) · last repo commit 2022-10-25 · 39 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,706,189 downloads/mo, #2,933 on PyPI

Verify before relying

pip install jschema-to-python
python -m jschema_to_python -s schema.json -o output_dir -r RootClass
  • Whether the generated code works correctly with current Python versions (3.10+) given the last release was 2019.
  • Whether the three runtime dependencies (attrs, jsonpickle, pbr) have themselves aged or introduced breaking changes.
  • Real-world success rate for complex or nested JSON schemas beyond basic use cases.
Same gist for agents: .md · .json

What it is and what it does

jschema-to-python is a command-line code generator that reads a JSON schema file and produces Python class definitions matching that schema's structure. It uses attrs, jsonpickle, and pbr as runtime dependencies to support the generated code. The tool accepts a schema path, output directory, and root class name, with optional hints files to control code generation behavior.

The package is positioned as a bridge between schema-first API design and Python development—useful when you have a JSON schema and want corresponding Python dataclasses without writing them by hand. However, it has been abandoned since late 2022 with no active maintenance, meaning it will not receive updates for Python version changes, dependency conflicts, or bug fixes.

Use it for

  • Generate Python models from OpenAPI or JSON Schema specifications for API client libraries.
  • Automate boilerplate class creation when working with schema-driven microservices.
  • Convert external JSON schema definitions into Python code for data validation and serialization.
  • Bootstrap Python projects that consume or validate JSON data against a known schema.

Worth the install?

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

Skip

No—install only if you are locked into an older Python environment and have no alternative.

The package is abandoned with no maintenance since 2022, no releases since 2019, and no guarantee of compatibility with modern Python. For new projects, use maintained alternatives like dataclasses-json, pydantic, or marshmallow-jsonschema instead.

Install

jschema-to-python on PyPI

Before you install

Low install friction with three straightforward runtime dependencies. However, the package is abandoned—last commit was 2022-10-25 and no releases since 2019-10-05. No active maintenance means bugs and compatibility issues will not be addressed.

Requires Python >= 2.7; the package targets older Python versions and may have compatibility issues with modern Python releases.

License in practice

MIT license is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute this code freely as long as you include the license notice.

Quickstart

pip install jschema-to-python
python -m jschema_to_python -s schema.json -o output_dir -r RootClass

Verify before relying

  • Whether the generated code works correctly with current Python versions (3.10+) given the last release was 2019.
  • Whether the three runtime dependencies (attrs, jsonpickle, pbr) have themselves aged or introduced breaking changes.
  • Real-world success rate for complex or nested JSON schemas beyond basic use cases.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >= 2.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
attrsjsonpicklepbr
MaintenanceAbandoned 2,505 days since the last release
Last repo commit
First released
Downloads2,706,189 / month, #2,933 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python Modules

Evidence: jschema_to_python-1.2.3-py3-none-any.whl

Tags

Capabilities
json schema to python classesgenerate python from json schemajson schema code generatorschema-driven python modelsjson schema python codegen
Topics
code-generationabandoned

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 › “json schema python codegen”

  • jschema-to-pythonGenerates Python class definitions from JSON schema files, converting…
  • smithy-jsonProvides JSON serialization and deserialization support for…
  • ariadne-codegenGenerates fully typed, asynchronous Python GraphQL clients from a…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also botbuilder-schema · sarif-om · avro-gen3 · jsonschema-gentypes · avro-gen · genson · dydantic · PyXB-X · warchant_dc_schema · py-deviceid