Skip to content

Python library for converting an RO-Crate to tabular representations

Notifications You must be signed in to change notification settings

Sydney-Informatics-Hub/rocrate-tabular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RO-Crate Tabulator

Python library to turn an RO-Crate into tabular formats.

Installation

Install uv, then

> git clone git@github.com:Sydney-Informatics-Hub/rocrate-tabular.git
> cd rocrate-tabular
> uv run src/rocrate_tabular/rocrate_tabular.py -h

uv run should create a local venv and install the dependencies

Usage

To build an SQLite version of a crate:

> uv run src/rocrate_tabular/rocrate_tabular.py -c path/to/crate -o out.db 

To build a CSV version of the same tables:

> uv run src/rocrate_tabular/rocrate_tabular.py -c path/to/crate -o out.csv

Todo

Build this out so it's a better library:

  • unit tests
  • better separation of output formats
  • build tables for kinds of crate entities with sensible defaults

About

Python library for converting an RO-Crate to tabular representations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages