NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #3400 most downloaded on PyPI
Python SHACL Validator
Last release 2 months ago
28 Jul 2026
Release timing varies
gaps range from 8 days to 10 months
Most releases are documented
notes for 51 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
80 releases · first in 2018
Implemented change in behaviour to resolve issue #029
Ability to load files with embedded named graphs (like in json-ld or trig)
sh:SPARQLTarget custom targets for nowOne column per quarter.
New features from SHACL Advanced Features spec:
--advanced.
-a shortcut to mean --advanced rather than --abort.--advanced arg.When using the pySHACL Validator class directly, the target_graph property will now be correctly updated to always refer to the fully expanded graph i
Validator class directly, the target_graph property will now be correctly updated to always
refer to the fully expanded graph if inferencing is enabled, and will be the mixed graph if the ontology-mixin option
is enabled.validator() helper would catch
and format the error, so the commandline tool would output the wrong text and return the wrong exit code.New ability for the RDF source loader to directly load a bytes string (for example, from a HTTP request body)
More refinements to the RDF Source loader. Fixes some minor bugs.
Added the ability to for the graph loader to load multiple source files into a single graph.
owl:imports statements. We currently go (base+3) levels of imports deep maximum.--imports switch to the cmdline script, that turns on the owl:imports feature.--imports option.Fixed an issue with loading RDF files on Windows
This is a big release, building up to the major 1.0 release.
ont_graph=path_to_graph in the python module or-e or --ont-graph on the command line utility to take advantage of this feature.SHACLGraph instance, rather than in a global static class
variable on the Shape classFixed a bug where files passed in to the command-line utility would get closed after being parsed, but sometimes they would need to be reopened again,
Fixed a bug in 0.9.7 where some references to the RDFClosure module were still in use in the code.
A new tests directory for testing reported github issues, and ensuring they pass even in future versions of this tool
owlrl, and is now published on PyPI.
CLI tool got two new options, --shacl_file_format (-sf) and --data_file_format (-df), for when the auto file format detection doesn't work for you.
--shacl_file_format (-sf) and --data_file_format (-df), for when the auto file format detection doesn't work for you.validate entrypoint, renamed target_graph to data_graph, and target_graph_format to data_graph_format
Added the missed 'proposed' test in the SHT conformance suite
Post-Release fixed a setup.py issue where it was not installing all of the required pySHACL modules.
Additional required check that all potentially pre-bound variables are SELECTED from a nested SELECT statement in a SPARQL subquery.
A feature to patch RDFLib Literal conversion functions, to fix some RDFLib bugs
A second testing framework is in place
Another example, this one with separate SHACL and Target files.
Minor fixes for PyPI upload compatibility
Your coding agent can read these notes before it upgrades. Set up the MCP server →