File conversion package.
Project description
The hepconvert library is a bridge between columnar file formats, currently ROOT, and Parquet and soon will include 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
hepconvert can be installed from PyPI using pip:
pip install hepconvert
To install with Conda through conda-forge:
conda install -c conda-forge hepconvert
Getting started
import hepconvert
# To merge two or more root files with TTrees,
# and add together any histograms:
hepconvert.merge_root("destination.root",
["ttree_file1.root", "ttree_file2.root"])
# To add root files with only histograms:
hepconvert.add_histograms("destination.root",
["hist_file1.root", "hist_file2.root"])
To run merge_root from the command line:
hepconvert merge-root [options] [OUT_FILE] [IN_FILES]
To run add_histograms:
hepconvert add [options] [OUT_FILE] [IN_FILES]
Find details on each function's CLI options on the readthedocs.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hepconvert-1.4.0.tar.gz.
File metadata
- Download URL: hepconvert-1.4.0.tar.gz
- Upload date:
- Size: 68.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2eac16909e03f67f528348b840fe4f4c5f8cfba3cc5707b284e19c2e6f56868
|
|
| MD5 |
c7049cda50b6b9904796c51d5c287c59
|
|
| BLAKE2b-256 |
a904feebef3865b6d06650cc11046038a619e1a26f27f61999f559b318e1d055
|
Provenance
The following attestation bundles were made for hepconvert-1.4.0.tar.gz:
Publisher:
cd.yml on scikit-hep/hepconvert
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hepconvert-1.4.0.tar.gz -
Subject digest:
d2eac16909e03f67f528348b840fe4f4c5f8cfba3cc5707b284e19c2e6f56868 - Sigstore transparency entry: 170943232
- Sigstore integration time:
-
Permalink:
scikit-hep/hepconvert@d927c5fb7e588010bf20a37e8a289a10421162f5 -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/scikit-hep
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@d927c5fb7e588010bf20a37e8a289a10421162f5 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hepconvert-1.4.0-py3-none-any.whl.
File metadata
- Download URL: hepconvert-1.4.0-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff2704c8d37dd17e14b459a57b20a28eba34a818adab8d768461763fe65f66eb
|
|
| MD5 |
49f516efb5d0178e33d5916579a75c14
|
|
| BLAKE2b-256 |
00047f3a9e6da3277eccb81cb32dafb58dacf88433be2f8af1123ba58ebd02cd
|
Provenance
The following attestation bundles were made for hepconvert-1.4.0-py3-none-any.whl:
Publisher:
cd.yml on scikit-hep/hepconvert
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hepconvert-1.4.0-py3-none-any.whl -
Subject digest:
ff2704c8d37dd17e14b459a57b20a28eba34a818adab8d768461763fe65f66eb - Sigstore transparency entry: 170943239
- Sigstore integration time:
-
Permalink:
scikit-hep/hepconvert@d927c5fb7e588010bf20a37e8a289a10421162f5 -
Branch / Tag:
refs/tags/v1.4.0 - Owner: https://github.com/scikit-hep
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
cd.yml@d927c5fb7e588010bf20a37e8a289a10421162f5 -
Trigger Event:
release
-
Statement type: