Registry / data / repo2rocrate

repo2rocrate

JSON →
library0.1.2pypypi✓ verified 83d ago

Generate RO-Crates (Research Object Crates) from workflow repositories. Version 0.1.2, early release with no frequent updates.

pip install repo2rocrate
INSTALL
IMPORT
SIG · REPO2ROCRATE
R
repo2rocrate
datapythonv0.1.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

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

LANG_MODULES
✓ from repo2rocrate import LANG_MODULES
✗ from repo2rocrate import repo2rocrate
VERSION
✓ from repo2rocrate import VERSION
✗ from repo2rocrate import repo2rocrate
common
✓ from repo2rocrate import common
✗ from repo2rocrate import repo2rocrate

Generate an RO-Crate from a public GitHub repository URL. Requires internet access.

from repo2rocrate import repo2rocrate # Replace with a valid GitHub repository URL github_url = "https://github.com/crs4/repo2rocrate" rocrate_url = repo2rocrate(github_url) print(f"RO-Crate URL: {rocrate_url}")
Debug
Known issues
gotchaThe repo2rocrate function expects the full GitHub URL with 'https://github.com/' prefix. Omitting 'https://' or using a non-GitHub URL will raise an error.
fix
Ensure URL starts with 'https://github.com/'.
affects: all
deprecatedPython 3.6 support is declared but highly unlikely to be tested. Newer Python versions (>=3.8) are recommended.
fix
Use Python 3.8+; consider pinning if you need 3.6.
affects: 0.1.2
gotchaThe library may fail with repository names containing special characters or non-ASCII. Error handling is minimal.
fix
Encode URL or stick to ASCII repository names.
affects: all
Upgrade
Version history
0.1.2latest on PyPI · released May 3, 2023
Audit
Dependencies
requestsrequiredUsed for HTTP requests to GitHub API.
pyyamlrequiredParsing YAML workflow files.
rocraterequiredCore dependency for RO-Crate creation.
Agent activity
9 hits · last 30 days
node
8
OpenAI (training)
1
Resources
repo2rocrate — pip install repo2rocrate · libregistry