hepconvert
File conversion package.
Decision gist · record as of 2026-08-14
Yes, if you work with ROOT files and need straightforward conversion or merging. Low install friction, active maintenance, permissive license, and no security issues make it a safe addition. The early development status (Planning) means the API or feature set may change, so pin the version if you rely on it in production. Best suited for exploratory analysis or pipeline automation rather than mission-critical workflows until it reaches a stable release milestone.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; uproot (a runtime dependency) requires compiled C++ bindings for ROOT file I/O, which may need a working C++ build environment on some systems.
- Low friction: pure Python wheel with three lightweight runtime dependencies (click, click-default-group, uproot).
- Active maintenance with recent releases; last commit 2026-07-20.
License · maintenance · safety
permissive license (permissive) — Permissive license (BSD) means you can use, modify, and distribute the package with minimal restrictions, typical for scientific software.
last release 2025-02-13 (547 days) · last repo commit 2026-07-20 · 14 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 113,617 downloads/mo, #12,338 on PyPI
Alternatives
Verify before relying
pip install hepconvert
import hepconvert
# Merge ROOT files with TTrees
hepconvert.merge_root("output.root", ["input1.root", "input2.root"])
# Or from CLI:
# hepconvert merge-root [options] output.root input1.root input2.root- Whether HDF5 support is currently available or still planned—description says 'soon will include' but no timeline or release notes confirm implementation status.
- Performance characteristics and memory efficiency for datasets larger than typical RAM—documentation mentions 'managing large datasets' but specifics are not in the fact sheet.
- Compression algorithm options and their trade-offs beyond 'choosing compression levels'.
What it is and what it does
hepconvert is a Python library that simplifies conversion between columnar data formats used in high-energy physics. It currently bridges ROOT (the standard HEP data format) and Parquet, with HDF5 support planned. The library wraps the complexity of multi-step format conversions into single-line Python functions or command-line commands, handling both tree-based data (via merge_root) and histogram aggregation (via add_histograms). It includes built-in features for managing large datasets and controlling compression, making it useful for data pipeline automation and batch processing in physics workflows.
The package depends on uproot for ROOT file I/O, click for CLI scaffolding, and click-default-group for command organization. It targets Python 3.9+ and is actively maintained, though still in early planning stages (Development Status 1). With low install friction and no known vulnerabilities, it's straightforward to add to existing analysis environments.
Use it for
- Merge multiple ROOT files containing TTrees into a single consolidated file for downstream analysis.
- Combine histograms across multiple ROOT files and write the aggregated results to a new ROOT file.
- Convert ROOT data to Parquet format for use in data science workflows outside the HEP ecosystem.
- Automate batch conversion of large physics datasets as part of a data processing pipeline.
- Simplify one-off file format conversions from the command line without writing custom Python scripts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with ROOT files and need straightforward conversion or merging.
Low install friction, active maintenance, permissive license, and no security issues make it a safe addition. The early development status (Planning) means the API or feature set may change, so pin the version if you rely on it in production. Best suited for exploratory analysis or pipeline automation rather than mission-critical workflows until it reaches a stable release milestone.
Install
hepconvert on PyPI
Before you install
Low friction: pure Python wheel with three lightweight runtime dependencies (click, click-default-group, uproot). Active maintenance with recent releases; last commit 2026-07-20. Early-stage project (Development Status 1 - Planning) but functional and regularly updated.
Requires Python 3.9 or later; uproot (a runtime dependency) requires compiled C++ bindings for ROOT file I/O, which may need a working C++ build environment on some systems.
License in practice
Permissive license (BSD) means you can use, modify, and distribute the package with minimal restrictions, typical for scientific software.
Quickstart
pip install hepconvert
import hepconvert
# Merge ROOT files with TTrees
hepconvert.merge_root("output.root", ["input1.root", "input2.root"])
# Or from CLI:
# hepconvert merge-root [options] output.root input1.root input2.root
Verify before relying
- Whether HDF5 support is currently available or still planned—description says 'soon will include' but no timeline or release notes confirm implementation status.
- Performance characteristics and memory efficiency for datasets larger than typical RAM—documentation mentions 'managing large datasets' but specifics are not in the fact sheet.
- Compression algorithm options and their trade-offs beyond 'choosing compression levels'.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesclick-default-groupclickuproot |
| Maintenance | Actively maintained 547 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 113,617 / month, #12,338 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 1 - PlanningIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Scientific/EngineeringTyping :: Typed |
Evidence: hepconvert-1.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “ROOT to Parquet conversion”
- hepconverthepconvert converts between columnar file formats—currently ROOT and…
- geoarrow-pyarrowProvides Python bindings for the GeoArrow specification, enabling…
- uprootUproot reads and writes ROOT files (the data format used in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also fastparquet · uproot · coffea · myst-nb · pyspark-extension · vortex-data · hickle · h5py · fdt · parquet-metadata