Skip to main content

DC TAP to SHACL converter.

Project description

Reads a Dublin Core Tabular Application Profile, with some extensions, and converts it to SHACL.

WARNING: beta version, use at own risk.

Installation and use

Always install in a virtual environment (venv).

pip install tap2shacl or install from github.

(venv) $ git clone https://github.com/philbarker/TAP2SHACL
(venv) $ cd TAP2SHACL
(venv) $ pip install -r requirements.txt
(venv) $ ./tap2shacl.py --help

usage: tap2shacl.py [-h] [-c ] [-ns ] [-a ] [-s ]

example: path/to/tap2shacl.py tap.csv

Contents

tap2shacl includes several modules that deal with reading and processing the application profile:

  • APClasses Provides python data classes for metadata application profiles, with methods to populate them.
  • dctap-python Reads and carries out basic validation of a DCTAP instance. (This is a frozen version of dctap-python)
  • TAP2AP uses dctap-python to read a DC TAP (Dublin Core Tabular Application Profile), and some other config files, and converts it to a python application profile (APClasses).
  • AP2SHACL exports the python application profile as SHACL.

Other dependencies are either from the python standard library (e.g. urllib, csv) or mature external packages (notably rdflib).

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

tap2shacl-1.0.0b1.tar.gz (41.6 kB view details)

Uploaded Source

Built Distribution

tap2shacl-1.0.0b1-py3-none-any.whl (42.8 kB view details)

Uploaded Python 3

File details

Details for the file tap2shacl-1.0.0b1.tar.gz.

File metadata

  • Download URL: tap2shacl-1.0.0b1.tar.gz
  • Upload date:
  • Size: 41.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for tap2shacl-1.0.0b1.tar.gz
Algorithm Hash digest
SHA256 bbc74176f90b186bbd4922f3ca7eb28c46f1d2d140eec17770095fb161da2ffa
MD5 505b8c1908a2bc518a0e958745279acb
BLAKE2b-256 c8c26437410be7b2048873c06481d0598aedc12e3fc7a5467c525c6d8921257c

See more details on using hashes here.

File details

Details for the file tap2shacl-1.0.0b1-py3-none-any.whl.

File metadata

  • Download URL: tap2shacl-1.0.0b1-py3-none-any.whl
  • Upload date:
  • Size: 42.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for tap2shacl-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 07274febe6460ac9f48e58ada9cf956d749b0fc326f3596c60915d8c3df8a455
MD5 9d6d3bf1918cd45291256a7faa64ac49
BLAKE2b-256 da6277883c2636b6a38ce70d8d5ce83a46d8b6fb7b624dcb3c1b77fbf742d1e6

See more details on using hashes here.

Supported by

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