Skip to main content

Generate RO-Crates from workflow repositories

Project description

repo2rocrate

Generate a Workflow Testing RO-Crate from a "best-practices" workflow repository. In this context, "best-practices" means the set of guidelines, especially regarding repository structure and metadata, put together by the workflow language community. Here is the list of currently supported workflow languages, together with the community resources used as a reference:

Installation

pip install repo2rocrate

Usage

The package consists of an API and a command line tool, also called repo2rocrate. It can generate RO-Crate metadata in-place or build an RO-Crate in a separate directory. The approach is to generate as many metadata as possible based on what can be extracted from known files and knowledge of the expected layout; the user can complement this by adding or overriding various bits via the available options.

Examples:

git clone https://github.com/crs4/fair-crcc-send-data
repo2rocrate -r fair-crcc-send-data --repo-url https://github.com/crs4/fair-crcc-send-data --license GPL-3.0
git clone https://github.com/nf-core/rnaseq
cd rnaseq/
repo2rocrate

The above commands add an ro-crate-metadata.json file to the repository directory. To generate an RO-Crate in a separate directory, use the -o option. Run repo2rocrate --help to get a description of all available options.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

repo2rocrate-0.1.1.tar.gz (16.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repo2rocrate-0.1.1-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file repo2rocrate-0.1.1.tar.gz.

File metadata

  • Download URL: repo2rocrate-0.1.1.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for repo2rocrate-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6bcd56a92ffec4aed3d4334ea1485b0bbdd8df4b988b89a71615c3848aefc8f7
MD5 346b06c0288461e00497a82685b6c898
BLAKE2b-256 7a7549d7575a03bb2578f7b25b652cc7da868756bb81659c71782fb9ba05999c

See more details on using hashes here.

File details

Details for the file repo2rocrate-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: repo2rocrate-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 17.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for repo2rocrate-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6c743f03c1f84e606a732c4ece07fba63a3038e10172edd93a2dc33e999b5bce
MD5 e4cfaebd7ecd3bbe4915c6fa1c5e6277
BLAKE2b-256 059101731df41f957458ef9ba8e4d3fad13a2fb9271134b5a3b9715034739c4f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page