Skip to main content

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, --help Displays help
  • -i, --dctap One or more DCTap files, seperated by commas
  • -o, --shacl Optional, file name for the validation graph
  • -fmt, --format Optional, RDF serialization format, can be one of the following:
    • turtle: Turtle (default)
    • xml or pretty-xml: XML
    • json-ld: JSON Linked Data format
    • nt: N-triples

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dctap2shacl-0.1.1.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dctap2shacl-0.1.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for dctap2shacl-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4d7a22d48177a8d814bc120a79724ae7bcf5291f3d3ebd7b210d25b5d93a185a
MD5 d25e132e77ba837ad6e2b06af700d6ae
BLAKE2b-256 60f3f6b1833a0d56b0d2d90409a76df77a5b3bbed92544769fed2e2095898bc0

See more details on using hashes here.

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

Hashes for dctap2shacl-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 98428fdb50f691b94c9916221b1ff1affb762d7ed6f44e3b1361e316616656bc
MD5 abd96c9fe25121a0395fefb0ca609f85
BLAKE2b-256 47f77e600e0db17739d399c5c428e40765e0f1e9f338983d3d0241f9288bf759

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page