File conversion package.
Project description
odapt
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 details)
Built Distribution
odapt-1.2.0-py3-none-any.whl
(18.6 kB
view details)
File details
Details for the file odapt-1.2.0.tar.gz
.
File metadata
- Download URL: odapt-1.2.0.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74db478af8f0bab0d48bf545012924e34017c2308b324bc6c21e364f054613b6 |
|
MD5 | 05b71bec65cb16fc9437e5c98f9dcd33 |
|
BLAKE2b-256 | be1e4e022b3f81d6ee2653b5b7c43dac3334447c5ac6a70f43cf5a3de018aa84 |
File details
Details for the file odapt-1.2.0-py3-none-any.whl
.
File metadata
- Download URL: odapt-1.2.0-py3-none-any.whl
- Upload date:
- Size: 18.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9cdd7bd986be28fa456252d802d4cfc05c203ee54cd0577ab939f0a53ec3ec3 |
|
MD5 | d1a80fd7396788827e97199fa375319f |
|
BLAKE2b-256 | 4b6fd06ee058ba4a508ca5f62483be6ea92e88ea336ebd0df1e09132f946dd6b |