Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

shacl-py

Minimal Python UI / viewer for metadata described with the DataLad Concepts Toolkit. This standalone, read-only Streamlit app is a separate Python implementation inspired by shacl-vue, developed by the Psychoinformatics team. It uses versioned schemas from the DataLad Concepts Toolkit.

Install

Use pip and Git in an already active Python 3.14+ environment, including Conda. This installs or updates the package directly from GitHub.

python --version
python -m pip install --upgrade -r https://raw.githubusercontent.com/Shavindra/shacl-py/main/requirements.txt
shacl-py --help

On macOS the optional installer checks the prerequisites and uses the active environment. See Mac and Conda setup.

View existing metadata

From the project directory:

shacl-py serve .

Open http://127.0.0.1:8501. Search your metadata by title, author, keyword or identifier and select a record. Metadata shows its fields and original source. Datasets opens related datasets. Files opens selected folders, notebooks and data files. Select a file to see its local availability and any metadata recorded for it.

The viewer reads existing metadata files and MetaLad records together. Use shacl-py serve . --metalad for the store alone, or shacl-py serve .studyminimeta.yaml for one file. You can browse directly after installation.

Optional metadata setup

Run shacl-py setup to create or edit a linked project catalogue. This helper asks for project details, datasets and folders, then validates and saves metadata.yaml and .studyminimeta.yaml.

Example: reviewing papers and their data

shacl-py setup --template paper-review
shacl-py serve .

Choose an existing collection of paper folders or add papers by title, DOI or URL. Each paper can have review notes, notebooks, raw data and analysis outputs. Pick folders once to list their contents recursively, including extensionless files. Several papers can link to the same dataset. Outputs stay under Files unless you register one as a derived dataset and link its sources and notebook.

The example ships with the CLI. The worked project and customisable Python helper show the metadata and folder conventions. To import an existing collection without prompts, use shacl-py setup . --template paper-review --papers-folder research/papers --no-input.

Other commands

  • shacl-py validate ROOT checks records again after you edit them.
  • shacl-py init DIR creates one flat record, preserving existing metadata.
  • shacl-py generate ROOT generates flat records for the immediate project folders. Existing flat records and their file-selection rules remain readable.

Use ordinary folders or use DataLad with git-annex for versioning and content retrieval. Serving lists local availability and leaves research files untouched. The CLI runs directly from the installed package. See metadata, file selection and local setup and the schema attribution.

Metadata

Release files for shacl-py 0.4.1b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shacl-py 0.4.1b0
File Size Uploaded Provenance Actions
shacl_py-0.4.1b0.tar.gz 63.7 kB With provenance Details for shacl_py-0.4.1b0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for shacl-py 0.4.1b0
File Interpreter ABI Platform Actions
shacl_py-0.4.1b0-py3-none-any.whl Python 3 none any Details for shacl_py-0.4.1b0-py3-none-any.whl

Total release size: 131.5 kB

Release files / shacl_py-0.4.1b0.tar.gz

Download URL shacl_py-0.4.1b0.tar.gz
Size 63.7 kB
Tags Source
SHA-256 checksum
How to use checksums
011d183b6d768023bb785634e5b9e639c402ae3caa4a9c3d75c0581869bbc70a
BLAKE2b-256 checksum
How to use checksums
b45dd41813f2b5915143c60875509b85e1071b45965fc396e9f11a09dc1f71bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / shacl_py-0.4.1b0-py3-none-any.whl

Download URL shacl_py-0.4.1b0-py3-none-any.whl
Size 67.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd1aba17e72f54b778f4693240f8f488c8d9a4532ccb0f1f06966a9d32817aab
BLAKE2b-256 checksum
How to use checksums
307b3ddc49592fb5275c7ab630342d19212b481ac645e06a5b7f72b29037b10e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for shacl-py 0.4.1b0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for shacl_py-0.4.1b0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page