Skip to main content

File conversion package.

Project description

odapt

Actions Status Documentation Status

PyPI version Conda-Forge PyPI platforms

GitHub Discussion

The odapt library is a bridge between columnar file formats ROOT, Parquet, Feather, and HDF5. It aims to simplify file conversions in Python, replacing what is usually a multi-step process with one line of code, with builtin features for managing large datasets and choosing compression levels.

Installation

odapt can be installed from PyPI using pip:

pip install odapt

Getting started

import odapt as od

# To merge two or more root files with TTrees,
# and add together any histograms:
od.hadd_and_merge("destination.root",
["ttree_file1.root", "ttree_file2.root"])


# To add merge files with only histograms:
od.hadd("destination.root",
["hist_file1.root", "hist_file2.root"])

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

odapt-1.2.0.tar.gz (28.6 kB view hashes)

Uploaded Source

Built Distribution

odapt-1.2.0-py3-none-any.whl (18.6 kB view hashes)

Uploaded Python 3

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