Skip to main content

RO-Crate Analysis and Visualisation Tools

DOI Tests Python Version uv Ruff Documentation Milestones Status: beta

The University of Melbourne Perpetual Calendar RO-Crate rendered as a network graph with crategraph

The University of Melbourne Perpetual Calendar RO-Crate rendered as a network graph with crategraph.

ARDC Community Data Lab Phase 2: Work Package 2

Tools for analysing and visualising research data collections stored in RO-Crates.

About

RO-Crates offer a powerful format for preserving HASS and GLAM collections with curated metadata and linkage information. While existing tools focus on creating RO-Crates as archival objects, this project unlocks them for active research use.

This project develops accessible tools for researchers to:

  • Analyse network relationships and metadata within and across RO-Crates
  • Visualise collections interactively, both online and offline
  • Understand and work with RO-Crate workflows through documentation and training

A set of RO-Crates converted from OHRM databases are available on FigShare: https://figshare.unimelb.edu.au/projects/OHRM_Upload_Project/230466

Project Goals

The project focuses on use-case driven development, prioritising specific research contexts for HASS and GLAM collections. Initial work will target:

  • Visualisation of linkages between RO-Crates
  • Visualisation of contents within RO-Crates

Background

This work builds on existing University of Melbourne projects and external collaborations that have developed specialised RO-Crate tools and workflows, including work derived from former Online Heritage Resource Manager projects.

Survey

We are excited to collaborate with researchers from various backgrounds. By taking this short survey, you're helping us co-design something that reflects and supports the way researchers work. We encourage you to share this survey with colleagues and research networks beyond your institution.

Feedback on WP2: working with RO Crate

Quick Start

Install crategraph from PyPI:

python -m pip install crategraph

Interactive Python shell:

python
>>> from crategraph import Crate
>>> crate = Crate("path/to/my-collection/")
>>> crate.entities
>>> crate.relationships

Jupyter notebook:

python -m pip install jupyter
jupyter notebook

Documentation

Full documentation, guides, and API reference are published at unimelbmdap.github.io/cdl2-rocrates.

Development Setup

Prerequisites

  • Python 3.12 or later
  • uv package manager

Installation

# Clone the repository
git clone https://github.com/unimelbmdap/cdl2-rocrates.git
cd cdl2-rocrates

# Install dependencies
uv sync

# Install pre-commit hooks
uv run pre-commit install

Running Tests

uv run pytest

Code Quality

This project uses Ruff for linting and formatting, enforced via pre-commit hooks.

# Run pre-commit checks manually
uv run pre-commit run --all-files

# Run linter
uv run ruff check .

# Run formatter
uv run ruff format .

Licence

Licensed under the Apache License, Version 2.0. See the LICENSE file for the full terms.

AI Attribution

AI Attribution: Human-AI blend — content edits, new content, human-initiated, reviewed; models Opus, Codex

Metadata

Release files for crategraph 0.2.0

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

Source distribution (sdist)

Source distribution for crategraph 0.2.0
File Size Uploaded Provenance Actions
crategraph-0.2.0.tar.gz 303.6 kB With provenance Details for crategraph-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for crategraph 0.2.0
File Interpreter ABI Platform Actions
crategraph-0.2.0-py3-none-any.whl Python 3 none any Details for crategraph-0.2.0-py3-none-any.whl

Total release size: 527.1 kB

Release files / crategraph-0.2.0.tar.gz

Download URL crategraph-0.2.0.tar.gz
Size 303.6 kB
Tags Source
SHA-256 checksum
How to use checksums
930b6d2a6aabf8c5ee845b305c8493af8fc7f789083b9a0b6963418c6a1cbd53
BLAKE2b-256 checksum
How to use checksums
f41f4eaa8a5c0e1c9a57010f1dff314325b91c8af522f5a67d2f6f25aca181f4
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 Oct 30, 2026.

Transparency log

Release files / crategraph-0.2.0-py3-none-any.whl

Download URL crategraph-0.2.0-py3-none-any.whl
Size 223.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ae6b17596843e26afb1129922b663672a7aaad726edbd9978217928b7d22496
BLAKE2b-256 checksum
How to use checksums
6610cb8c27356c539316e1016e6f2313401d3b282adbd5aa748946b5e72379e5
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 Oct 30, 2026.

Transparency log

Security for crategraph 0.2.0

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 crategraph-0.2.0.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 Oct 30, 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