Convert SHACL model file to code bindings
Project description
Convert SHACL Model to code bindings
This tool can be used to convert a JSONLD SHACL model into various code bindings
Installation
shacl2code
can be installed using pip:
python3 -m pip install shacl2code
Usage
shacl2code
can generate bindings from either a local file:
shacl2code generate -i model.jsonld python -o out.py
Or from a URL:
shacl2code generate -i https://spdx.github.io/spdx-3-model/model.jsonld python -o out.py
Or from stdin:
cat model.jsonld | shacl2code generate -i - python -o - > out.py
For more information, run:
shacl2code --help
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shacl2code-0.0.4.tar.gz
(121.3 kB
view hashes)
Built Distribution
Close
Hashes for shacl2code-0.0.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f224087ed64ff27c9636024d3595a400f9d2f73878f732273e2bc666899838a9 |
|
MD5 | ee7f935141d5d14221404b39ec4d2b37 |
|
BLAKE2b-256 | d19cd49d7b1e38dcdd0f3329b354725138448b69c970ecc549337427bbec6584 |