jschema-to-python
Generate source code for Python classes from a JSON schema.
Decision gist · record as of 2026-08-14
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
Alternatives
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.
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.
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
| License | MIT permissive |
| Python support | Supports the current Python release >= 2.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesattrsjsonpicklepbr |
| Maintenance | Abandoned 2,505 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,706,189 / month, #2,933 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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
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
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.
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.
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.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
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…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also botbuilder-schema · sarif-om · avro-gen3 · jsonschema-gentypes · avro-gen · genson · dydantic · PyXB-X · warchant_dc_schema · py-deviceid