ShExJSG is a Python library that provides an abstract syntax tree (AST) for the ShEx 2.0 schema language, built on PyJSG and Antlr. It is used for parsing, validating, and generating ShEx schemas. Current version is 0.8.2, with a history of adaptation to newer rdflib and Python versions.
pip install shexjsgNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parses a ShEx schema from a JSON string using ShExJSG.
Upgrade rdflib to >=5.0.0 or pin shexjsg to 0.7.1.
Install/upgrade pyjsg: pip install pyjsg --upgrade