Skip to main content

Package for accessing data and metadata on iRODS servers.

Project description

iBridges

iBridges is a library for scientific programmers who are working with data in iRODS. We provide a wrapper around the python-irodsclient to facilitate easy interaction with the iRODS server. iBridges is currently still in very active development.

PyPI version Run integration tests against iRODS Run integration tests against Yoda Python package DOI

Highlights

  • Works on Windows, Mac OS and Linux
  • Runs on Python 3.8 or higher.
  • Supported iRODS server versions: 4.2.11 or higher and 4.3.0 or higher.
  • Interactive connection to your iRODS server.
  • Upload and Download your data.
  • Manipulate the metadata on the iRODS server.
  • Synchronise your data between your local computer and the iRODS server.
  • Create and manipulate Tickets to temporarily grant access to outside users.
  • Search through all metadata for your dataset or collection.
  • Small number of dependencies (python-irodsclient and tqdm)
  • Safe default options when working with your data.

iBridges also has a graphical user interface, which you can install here.

Report Bug . Request Feature . Share an idea . Leave some feedback . Ask a question

Installation

There are two main ways to install iBridges. The recommended way is to use the stable version that is available on PyPi:

pip install ibridges

If you want to install the unstable version to test out new features, you can install the development branch:

pip install git+https://github.com/iBridges-for-iRods/iBridges.git@develop

Configuration

You will need to have a so-called irods_environment.json. Please follow the documentation how to set it up.

Usage

Below are some basic examples of the features in iBridges.

# Create an iRODS session
from ibridges.interactive import interactive_auth

session = interactive_auth()

# Upload data
from ibridges import upload

upload(session, "/your/local/path", "/irods/path")

# Download data
from ibridges import download

download(session, "/irods/path", "/other/local/path")

Command line interface

To simply upload or download data you do not need to write full python program, we offer a command line interface (see also the documentation).

  • Establish a connection

    ibridges init
    
  • List a collection

    # list your home collection
    ibridges list
    
    # list a different collection in your home
    ibridges list "irods:~/<collection>"
    
    # list a collection on a different path than your home
    
    ibridges list "irods:/full/irods/path"
    
  • Upload data

    ibridges upload my_file.json "irods:~/some_collection"
    
  • Download data

    ibridges download "irods:~/some_collection/some_object" download_dir
    
  • Synchronise data

    ibridges sync some_local_directory "irods:~/some_collection"
    

Tutorials

Documentation

Guides

Beginners tutorials

Do I have to choose between the python-irodsclient and iBridges?

No. iBridges itself is based on the python-irodsclient. When you connect to iRODS a python-irodsclient irods.iRODSSession is automatically created with which you can access all functionality of the python-irodsclient.

ibridges and prc

Authors

Christine Staiger (Maintainer) ORCID

  • Wageningen University & Research 2021 - 2022
  • Utrecht University 2022

Tim van Daalen, Wageningen University & Research 2021

Maarten Schermer (Maintainer) ORCID, Utrecht University 2023

Raoul Schram (Maintainer) ORCID. Utrecht University 2023

Contributors

J.P. Mc Farland, University of Groningen, Center for Information Technology, 2022

License

This project is licensed under the MIT license. The full license can be found in LICENSE.

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

ibridges-2.0.1.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

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

ibridges-2.0.1-py3-none-any.whl (68.3 kB view details)

Uploaded Python 3

File details

Details for the file ibridges-2.0.1.tar.gz.

File metadata

  • Download URL: ibridges-2.0.1.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ibridges-2.0.1.tar.gz
Algorithm Hash digest
SHA256 cc010286a597459d8c404488c194f50c95a158c78c881fc55e43baa87f539a7b
MD5 cc8d781aa9862a09f9ff363e1b661821
BLAKE2b-256 ba42a9a28af83fc3d10f61b49e89acf37666c1e02b356c62db2ab42664004b71

See more details on using hashes here.

File details

Details for the file ibridges-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: ibridges-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 68.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ibridges-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 637613fcdef204a39e108f9efc4823cc9fa506ab62b6b2b1903890579b12e040
MD5 2bd3fdcde8fd8b52a72d68114a57d860
BLAKE2b-256 12f226a1a434953edcd32ab2b17902aace049e5c1d80bd73f3a2fd873ed2a098

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