{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/10"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"}],"enrichment":{"capability":"Generates Python 3 classes from JSON Schema Grammar (JSG) specifications, enabling type-safe object representations of JSON data with validation and serialization support.","skillfed_tags":["schema-validation","code-generation","json-schema"],"use_cases":["Generate strongly-typed Python models from existing JSON Schema Grammar definitions for data interchange formats.","Build configuration file parsers that validate structure and types at runtime using generated schema classes.","Create domain-specific language interpreters where the grammar defines both syntax and Python object structure.","Validate JSON data against a schema before processing, catching structural errors early in a pipeline.","Serialize Python objects back to JSON while enforcing schema constraints and type safety."],"what_it_does":"PyJSG is a code generator that reads JSON Schema Grammar (JSG) specifications and produces Python 3 classes representing the schema's structure. It bridges the gap between declarative schema definitions and typed Python objects, using the typing library to provide IDE support and type hints.\n\nThe generated classes inherit from JSG base types and include built-in validation, serialization to JSON, and attribute access control. You define a schema in JSG syntax, run the generate_parser command-line tool, and get back a Python module with classes ready to instantiate, populate, validate, and serialize. The package includes a validation library that checks whether Python objects conform to their schema definitions.","worth_installing":"Yes, if you work with JSON Schema Grammar and need type-safe Python bindings. The package is actively maintained, has no known vulnerabilities, installs cleanly, and is permissively licensed. The main consideration is whether your project already uses JSG; if you're starting fresh, evaluate whether JSG's grammar syntax fits your schema needs better than alternatives."},"id":"pyjsg","links":{"html":"https://skillfed.io/packages/pyjsg","md":"https://skillfed.io/packages/pyjsg.md","pypi":"https://pypi.org/project/pyjsg/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-01","license_spdx":null,"license_treatment":"permissive","name":"PyJSG","python_support":"supports_current","summary":"Python JSON Schema Grammar interpreter"},"popularity":{"monthly_downloads":292377,"position":7965,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.12.4"}
