Skip to main content

Lightweight ROOT to HDF5 file converter

Project description

Lightweight ROOT to HDF5 File Converter

Introduction

The root2hdf5 tool provides a streamlined solution for converting CERN ROOT files into HDF5 format. This lightweight implementation specifically targets ROOT files containing TTree structures, seamlessly transforming them into organized HDF5 compound datasets.

Getting the Code

To get started you can clone the root2hdf5 repository from GitHub using the following command:

git clone https://github.com/dev-geof/root2hdf5.git

Installation

To install root2hdf5 and its dependencies you can use the following command:

python -m pip install -e . -r requirements.txt

Pre-built root2hdf5 can also be installed from PyPI via:

pip install root2hdf5

Usage

Script Invocation

root2hdf5 -i input_root_file -o output_hdf5_file -t tree_name

Parameters

  • input_root_file (str): The name of the input ROOT file.
  • output_hdf5_file (str): The name of the output HDF5 file.
  • tree_name (str): The name of the ROOT tree to be processed.

License

root2hdf5 is distributed under the MIT License, granting users the freedom to use, modify, and distribute the code. Contributions, bug reports, and suggestions for improvements are warmly welcomed.

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

root2hdf5-0.1.6.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

root2hdf5-0.1.6-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file root2hdf5-0.1.6.tar.gz.

File metadata

  • Download URL: root2hdf5-0.1.6.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for root2hdf5-0.1.6.tar.gz
Algorithm Hash digest
SHA256 bf8f9222b187dfa794d8f1c4f82e0abf458f46906e5134100082e66532d951ab
MD5 6027cd340c07dcedc9466598db89d361
BLAKE2b-256 9521790ad251337eadf9cd641afeaa31fef02e8cbb1e1bfea7be5d085d6a6133

See more details on using hashes here.

File details

Details for the file root2hdf5-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: root2hdf5-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.9.19

File hashes

Hashes for root2hdf5-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 84b5ff085c258793ad60b4bbded2399530c96fe63846745c1077b262cf8ee00a
MD5 da29e8ddfa5c9acc19ded269162dac9e
BLAKE2b-256 18fb2c6bbe29957fcac0336e60528abc2c28a6c32127fbdc2b8b5932fae4339b

See more details on using hashes here.

Supported by

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