{"categories":[{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"}],"enrichment":{"capability":"Generates Python TypedDict types from JSON Schema definitions, with support for OpenAPI3 schemas and automatic code formatting.","skillfed_tags":["code-generation","schema-driven","type-safety"],"use_cases":["Generate type-safe request/response models from an OpenAPI3 specification for use in web frameworks like Pyramid or FastAPI.","Maintain a single JSON Schema as the source of truth for data validation while keeping Python types automatically in sync.","Integrate schema-driven code generation into CI/CD pipelines via pre-commit hooks to catch type mismatches early.","Build strongly-typed data validation layers in microservices without manually writing TypedDict classes.","Generate Python types from shared JSON Schema definitions across multiple services or repositories."],"what_it_does":"jsonschema-gentypes is a command-line tool that reads JSON Schema files and generates Python source code containing TypedDict type definitions. It bridges the gap between schema-first API design and Python's static type system, letting you define your data contracts once in JSON Schema and automatically produce typed Python code that can be validated against those schemas.\n\nThe tool supports both standard JSON Schema and OpenAPI3 schemas, automatically detecting which format you're using. It integrates with code formatters like black and isort, can be run as a pre-commit hook, and exports default values from the schema so you can use them in your Python code. It requires Python 3.10 or later and depends on jsonschema, PyYAML, requests, referencing, typing-extensions, and urllib3.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive license, and solves a real problem for teams using schema-first API design. Install friction is low and it integrates well into existing workflows via CLI, config files, and pre-commit hooks. Suitable for production use."},"id":"jsonschema-gentypes","links":{"html":"https://skillfed.io/packages/jsonschema-gentypes","md":"https://skillfed.io/packages/jsonschema-gentypes.md","pypi":"https://pypi.org/project/jsonschema-gentypes/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-11-26","license_spdx":"BSD-2-Clause","license_treatment":"permissive","name":"jsonschema-gentypes","python_support":"supports_current","summary":"Tool to generate Python types based on TypedDict from a JSON Schema"},"popularity":{"monthly_downloads":75436,"position":14714,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.13.0"}
