BIBFRAME Interoperability Group code for transforming DCTap tsv files into SHACL
Project description
BIG dctap2shacl Custom Parser
Code repository for the BIBFRAME InterOp Group's custom DCTap-to-SHACL parser.
Command Line Usage
After installing, convert one or more BIBFRAME DCTap files to a SHACL validation graph from the command:
- If installed with uv,
uv run dctap2shacl --dctap admin_metadata.tsv - If installed with pip,
dctap2shacl --dctap admin_metadata.tsv
This will create and save a turtle file, bf-validation.ttl in the same directory.
Options
-h,--helpDisplays help-i,--dctapOne or more DCTap files, seperated by commas-o,--shaclOptional, file name for the validation graph-fmt,--formatOptional, RDF serialization format, can be one of the following:turtle: Turtle (default)xmlorpretty-xml: XMLjson-ld: JSON Linked Data formatnt: N-triples
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dctap2shacl-0.1.1.tar.gz.
File metadata
- Download URL: dctap2shacl-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d7a22d48177a8d814bc120a79724ae7bcf5291f3d3ebd7b210d25b5d93a185a
|
|
| MD5 |
d25e132e77ba837ad6e2b06af700d6ae
|
|
| BLAKE2b-256 |
60f3f6b1833a0d56b0d2d90409a76df77a5b3bbed92544769fed2e2095898bc0
|
File details
Details for the file dctap2shacl-0.1.1-py3-none-any.whl.
File metadata
- Download URL: dctap2shacl-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98428fdb50f691b94c9916221b1ff1affb762d7ed6f44e3b1361e316616656bc
|
|
| MD5 |
abd96c9fe25121a0395fefb0ca609f85
|
|
| BLAKE2b-256 |
47f77e600e0db17739d399c5c428e40765e0f1e9f338983d3d0241f9288bf759
|