Skip to main content

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.

Metadata

Release files for root2hdf5 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for root2hdf5 0.1.6
File Size Uploaded
root2hdf5-0.1.6.tar.gz 5.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for root2hdf5 0.1.6
File Interpreter ABI Platform
root2hdf5-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 11.3 kB

Release files / root2hdf5-0.1.6.tar.gz

Download URL root2hdf5-0.1.6.tar.gz
Size 5.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bf8f9222b187dfa794d8f1c4f82e0abf458f46906e5134100082e66532d951ab
BLAKE2b-256 checksum
How to use checksums
9521790ad251337eadf9cd641afeaa31fef02e8cbb1e1bfea7be5d085d6a6133
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / root2hdf5-0.1.6-py3-none-any.whl

Download URL root2hdf5-0.1.6-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
84b5ff085c258793ad60b4bbded2399530c96fe63846745c1077b262cf8ee00a
BLAKE2b-256 checksum
How to use checksums
18fb2c6bbe29957fcac0336e60528abc2c28a6c32127fbdc2b8b5932fae4339b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page