roc-validator
A Python package to validate RO-Crates
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive Apache 2.0 license, and fills a specific need for RO-Crate validation. It supports both CLI and programmatic use, handles multiple storage backends, and is extensible for new profiles. No known vulnerabilities. Suitable for research data management and metadata compliance workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction: pure Python wheel with 11 runtime dependencies including click, colorlog, rdflib, pyshacl, requests, and rich—all standard, well-maintained packages.
- Active maintenance with a release 17 days ago.
License · maintenance · safety
Apache-2.0 (permissive) — Apache License 2.0 (permissive): you can use, modify, and distribute this package freely in commercial or private projects, provided you include the license notice and state significant changes.
last release 2026-07-28 (17 days) · last repo commit 2026-07-28 · 28 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 111,154 downloads/mo, #12,431 on PyPI
Alternatives
Verify before relying
pip install roc-validator
from rocrate_validator import services, models
settings = services.ValidationSettings(
rocrate_uri='/path/to/ro-crate',
profile_identifier='ro-crate-1.1',
requirement_severity=models.Severity.REQUIRED,
)
result = services.validate(settings)
if result.has_issues():
for issue in result.get_issues():
print(f"{issue.severity.name}: {issue.message}")- Performance characteristics when validating large RO-Crates or remote archives over slow connections.
- Whether the extensibility framework for adding new profiles is documented with examples.
- Coverage of all declared profiles by SHACL shapes versus Python code checks.
What it is and what it does
roc-validator is a Python package that checks whether RO-Crate metadata packages conform to their declared profiles. RO-Crates are structured research data containers that bundle files with machine-readable metadata; this tool validates that metadata against SHACL shapes and Python rules for the base RO-Crate profile and several specialized extensions including Workflow RO-Crate, Workflow Testing, and various run crates. It works with crates stored locally as directories or ZIP files, or accessible remotely via HTTP/HTTPS.
You can use it as a command-line tool or import it into Python code to validate programmatically. The validator reports issues at different severity levels (REQUIRED, RECOMMENDED, OPTIONAL) and provides detailed information about what failed and why. It is designed to be extensible, allowing new profiles to be added by implementing SHACL shapes and Python validation logic.
Use it for
- Validate research data packages before publishing to ensure metadata completeness and standards compliance.
- Integrate validation into a data management pipeline to catch metadata errors early in the workflow.
- Check workflow RO-Crates submitted to a workflow hub for conformance to the Workflow RO-Crate profile.
- Validate run crates to verify execution metadata is properly recorded.
- Programmatically validate RO-Crates in Python applications to enforce data quality gates.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive Apache 2.0 license, and fills a specific need for RO-Crate validation. It supports both CLI and programmatic use, handles multiple storage backends, and is extensible for new profiles. No known vulnerabilities. Suitable for research data management and metadata compliance workflows.
Install
roc-validator on PyPI
Before you install
Low friction: pure Python wheel with 11 runtime dependencies including click, colorlog, rdflib, pyshacl, requests, and rich—all standard, well-maintained packages. Active maintenance with a release 17 days ago.
Requires Python 3.10 or later.
License in practice
Apache License 2.0 (permissive): you can use, modify, and distribute this package freely in commercial or private projects, provided you include the license notice and state significant changes.
Quickstart
pip install roc-validator
from rocrate_validator import services, models
settings = services.ValidationSettings(
rocrate_uri='/path/to/ro-crate',
profile_identifier='ro-crate-1.1',
requirement_severity=models.Severity.REQUIRED,
)
result = services.validate(settings)
if result.has_issues():
for issue in result.get_issues():
print(f"{issue.severity.name}: {issue.message}")
Verify before relying
- Performance characteristics when validating large RO-Crates or remote archives over slow connections.
- Whether the extensibility framework for adding new profiles is documented with examples.
- Coverage of all declared profiles by SHACL shapes versus Python code checks.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 11 packagesclickcolorlogenum-toolsinquirerpypyshaclrdflibrequestsrequests-cacherichrich-clicktoml |
| Maintenance | Actively maintained 17 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 111,154 / month, #12,431 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality AssuranceTopic :: Software Development :: TestingTopic :: Utilities |
Evidence: roc_validator-0.11.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “RO-Crate validation”
- roc-validatorValidates RO-Crate metadata packages against declared profiles using…
- repo2rocrateGenerates RO-Crate metadata from workflow repositories following…
- rocraterocrate is a Python library for creating and consuming Research…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also repo2rocrate · rocrate · pyshacl · validator-collection · bdbag · eido · chia-rs · bagit-profile · validate-pyproject · kubernetes-validate