Registry / data / roc-validator

roc-validator

JSON →
library0.10.0pypypiunverified

A Python package to validate RO-Crates (Research Object Crate) against profiles and checks. Current version 0.9.0, requires Python >=3.10, <4.0. Active development with regular releases.

pip install roc-validator
INSTALL
IMPORT
SIG · ROC-VALIDATOR
R
roc-validator
datapythonv0.10.0
Install
6.4s avg
Import
Disk
63MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.10.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 65.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 6.4s · import 0.000s · 66MB
63MB installed
● package 63MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

validate
from rocrate_validator import validate
from rocrate_validator import validate

Basic usage: create a validator instance and call validate with the path to an RO-Crate directory.

from rocvalidator.validator import ROCrateValidator # Validate an RO-Crate from a directory path validator = ROCrateValidator() result = validator.validate('/path/to/ro-crate') print(result) # Or use CLI # roc-validator validate /path/to/ro-crate
roc-validator --version
Debug
Known issues
breakingPython 3.9 support dropped in version 0.8.0; requires Python >=3.10.
fix
Upgrade to Python 3.10 or later.
affects: >=0.8.0
gotchaImport path uses 'rocvalidator' not 'roc_validator'. Incorrect import will raise ModuleNotFoundError.
fix
Use 'from rocvalidator...' instead of 'from roc_validator...'.
affects: all
deprecatedThe 'requests_cache.install_cache' call was removed in 0.6.4. If you rely on caching, update usage.
fix
Use the built-in caching via ROCrateValidator's constructor or CLI options.
affects: >=0.6.4
gotchaThe package is installed as 'roc-validator' on PyPI, but the Python module is 'rocvalidator'.
fix
Install with 'pip install roc-validator', then import 'rocvalidator'.
affects: all
Upgrade
Version history
0.10.0latest on PyPI · released Jun 1, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
Amazon
1
OpenAI (training)
1
Resources
roc-validator — pip install roc-validator · libregistry