Skip to content

A tool to set the iRODS metadata from a projects store

Notifications You must be signed in to change notification settings

TGAC/opendata-projects

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

A script to import the metadata from a json file into the iRODS server

Installation

python3 -m venv venv

source venv/bin/activate
pip install python-irodsclient

Usage

usage: import_projects.py [-h] [-i INPUT_FILE] [-H HOST] [-P PORT] [-u USER] [-p PASSWORD] [-z ZONE]
                          [--uuids [UUIDS ...]] [-v]

options:
  -h, --help            show this help message and exit
  -i INPUT_FILE, --input_file INPUT_FILE
                        The input Projects JSON file to load
  -H HOST, --host HOST  The iRODS server hostname
  -P PORT, --port PORT  The port that the iRODS server is running on
  -u USER, --user USER  The username to use to log in to the iRODS server
  -p PASSWORD, --password PASSWORD
                        The password to use to log in to the iRODS server
  -z ZONE, --zone ZONE  The iRODS zone to connect to
  --uuids [UUIDS ...]   The Project UUIDS to parse. If this is not set, all projects in the file will be parsed.
  -v, --verbose         Display progress messages

About

A tool to set the iRODS metadata from a projects store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages