{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/7"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"}],"enrichment":{"capability":"Validates RDF graphs against SHACL shape definitions, using rdflib and OWL-RL for semantic constraint checking and optional OWL2 RL Profile inference.","skillfed_tags":["semantic-web","rdf-validation","linked-data"],"use_cases":["Validate RDF datasets against organizational data quality rules before ingestion into a knowledge graph.","Enforce schema constraints on linked data published as part of a semantic web application.","Perform automated compliance checks on RDF exports from databases or ontology repositories.","Integrate SHACL validation into data pipelines to catch malformed triples early.","Test SHACL shape definitions themselves using meta-SHACL before deploying them in production."],"what_it_does":"pySHACL is a pure Python validator that checks whether RDF graphs conform to constraints defined in SHACL (Shapes Constraint Language) shape graphs. It uses rdflib for RDF handling and integrates owlrl for optional OWL2 RL Profile inference on data before validation. The validator can run standalone via command-line or be imported as a Python module; it supports multiple output formats (human-readable, table, Turtle, XML, JSON-LD, N-Triples, N3) and offers advanced features like meta-SHACL validation, SHACL Rules iteration, and optional Oxigraph backend support.\n\nTypical workflows involve loading a data graph and a shapes graph, optionally applying inference rules, and then validating the data against the constraints. The package returns a conformance boolean, a results graph in RDF, and human-readable validation text. It adheres to the W3C SHACL Recommendation and is designed for semantic web and linked data applications where schema validation and data quality checks are critical.","worth_installing":"Yes. pySHACL is actively maintained, has low install friction, carries a permissive Apache 2.0 license, and is the standard Python implementation of the W3C SHACL specification. Install it if you work with RDF graphs and need constraint validation; it is production-stable and suitable for both command-line and programmatic use."},"id":"pyshacl","links":{"html":"https://skillfed.io/packages/pyshacl","md":"https://skillfed.io/packages/pyshacl.md","pypi":"https://pypi.org/project/pyshacl/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-28","license_spdx":null,"license_treatment":"permissive","name":"pyshacl","python_support":"supports_current","summary":"Python SHACL Validator"},"popularity":{"monthly_downloads":1058329,"position":4426,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.40.1"}
