{"categories":[{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Parses Shape Expression Compact (ShExC) syntax into Python objects that can be serialized to ShEx JSON (ShExJ) or RDF (ShExR) formats, enabling programmatic validation and transformation of shape definitions.","skillfed_tags":["rdf-semantic-web","schema-validation","compiler"],"use_cases":["Convert ShExC shape definitions to ShEx JSON format for use in web applications or APIs.","Programmatically validate RDF graphs against shape constraints by parsing ShExC schemas.","Transform shape definitions between ShExC, ShExJ, and ShExR formats in data pipeline tools.","Build custom ShEx interpreters or validators that require parsed shape objects as input.","Integrate shape validation into linked data workflows that use Python."],"what_it_does":"PyShExC is a Python compiler for the Shape Expression Compact (ShExC) syntax, originally developed by Eric Prud'hommeaux and now maintained in the LinkML organization. It parses ShExC text into pyjsg Python objects, which can then be serialized to ShEx JSON (ShExJ) or RDF (ShExR) representations. The package is designed for developers who need to work with shape definitions programmatically\u2014either to validate RDF data against shape constraints, transform between ShEx formats, or build ShEx-based tools.\n\nThe package includes a command-line tool (shexc_to_shexj) for converting ShExC files to JSON and RDF outputs, plus a Python API for programmatic access. It depends on ANTLR4 for parsing, rdflib-shim for RDF operations, and several related libraries (jsonasobj, pyjsg, shexjsg) that handle the object model and JSON schema bindings. The fork was created to enable Python 3.14 support in LinkML after the original repository became inactive.","worth_installing":"Yes, if you need to parse or transform ShEx shape definitions in Python. The package is actively maintained, has low install friction, carries no security vulnerabilities, and supports current Python versions (3.10\u20133.14). The MIT license imposes no restrictions. Install only if you are working with ShEx schemas; it is a specialized tool with no general-purpose utility."},"id":"pyshexc","links":{"html":"https://skillfed.io/packages/pyshexc","md":"https://skillfed.io/packages/pyshexc.md","pypi":"https://pypi.org/project/pyshexc/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-01","license_spdx":null,"license_treatment":"permissive","name":"PyShexC","python_support":"supports_current","summary":"PyShExC - Python ShEx compiler"},"popularity":{"monthly_downloads":302316,"position":7825,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.3.post1"}
