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.2.0.tar.gz (4.7 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.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file dctap2shacl-0.2.0.tar.gz.

File metadata

  • Download URL: dctap2shacl-0.2.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.2.0.tar.gz
Algorithm Hash digest
SHA256 b3ea509157931ed906a39a4e24732271984905d8e2093feca237f41b771cfbbc
MD5 9debfb53732b2b7ed5486372ce0ca1b5
BLAKE2b-256 22c99b2aed6847f95615b0b87101c347bde00e1394bfca98b74e0b4ee66d8b28

See more details on using hashes here.

File details

Details for the file dctap2shacl-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: dctap2shacl-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c51dd2707b5ac2efd42fd3e791e985f4fdc156dad2ac4e155869d7e0582ba8d2
MD5 11e683bbe35ecbb7f925bd1c57eea6ed
BLAKE2b-256 5920e99c763ea74cb05de04f08ed9751ce8c111bbea96aa806fe25ae0f224691

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