uproot3-methods
Pythonic mix-ins for ROOT classes.
What it is and what it does
uproot3-methods is a companion library to uproot 3.x that adds physics-specific methods to classes automatically generated from ROOT files. It provides convenient operations on particle physics objects like TLorentzVectors and histograms (TH*), allowing you to work with these objects more naturally in Python. The library can also be used standalone to create and manipulate arrays of TLorentzVectors without uproot.
However, this package is deprecated and no longer maintained. It was designed for uproot 3.x and Awkward Array 0.x, both of which are now superseded. The repository was archived in 2021, and the package is explicitly incompatible with modern versions (awkward>=1.0 and uproot>=4.0). For new projects, the scikit-hep team recommends using the vector package instead.
Use it for:
- Working with legacy uproot 3.x codebases that need physics-specific methods on ROOT-derived classes.
- Standalone manipulation of TLorentzVector arrays in older particle physics analysis scripts.
- Accessing histogram methods (TH*) from ROOT files read with uproot 3.x.
- Maintaining existing analysis code that depends on uproot3-methods without upgrading to modern uproot.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Adds physics-oriented methods to ROOT file classes, primarily TLorentzVectors and histograms, as a companion library to uproot 3.x for working with particle physics data.
No—do not install for new projects. This package is deprecated, unmaintained since March 2021, and incompatible with modern versions of its dependencies. If you are maintaining legacy code that already uses it, it may continue to work if you pin awkward0 and uproot 3.x, but you should plan to migrate to the vector package and uproot 4.x. For new particle physics work, use vector instead.
Install
uproot3-methods on PyPI
pip
pip install uproot3-methodsuv
uv add uproot3-methodspoetry
poetry add uproot3-methodsInstalling uproot3-methods
Before you install
Low install friction with just two runtime dependencies (numpy and awkward0), but the repository is archived and the package is explicitly deprecated—it has not been updated since March 2021 and is incompatible with modern versions of Awkward Array and Uproot.
License in practice
BSD 3-clause is permissive and poses no restrictions on commercial or proprietary use, but the deprecated status means you should expect no ongoing license updates or clarifications.
Quickstart
pip install uproot3-methods
import uproot3_methods
# Use with uproot3 to access methods on ROOT classes
# or standalone: from uproot3_methods.classes.TLorentzVector import TLorentzVector
Requires awkward0 (Awkward Array 0.x); incompatible with awkward>=1.0 and uproot>=4.0. Package is deprecated and no longer maintained.
Verify before relying
- Whether existing code depending on this package will continue to work with current Python and NumPy versions despite the lack of maintenance.
- Whether the scikit-hep vector package is a suitable drop-in replacement for new projects needing Lorentz vector functionality.
Package facts
| License | BSD 3-clause (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — numpy, awkward0 |
| Maintenance | abandoned — 1,975 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 279,597/month — #8,119 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: uproot3_methods-0.10.1-py3-none-any.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
coffeacoffea provides columnar data analysis tools…
permissive · top 15,000 on PyPI
uproot3Reads and writes ROOT files (the data format…
permissive · top 15,000 on PyPI
uprootUproot reads and writes ROOT files (the data…
permissive · top 5,000 on PyPI
vectorVector provides 2D, 3D, and 4D space-time…
permissive · top 15,000 on PyPI
fastjetFastJet provides Python bindings to the FastJet…
permissive · top 15,000 on PyPI
hepunitsProvides units and physical constants in the…
permissive · top 15,000 on PyPI
mplhepmplhep provides matplotlib styling and helper…
permissive · top 15,000 on PyPI
uhiUHI defines and documents a standard interface…
permissive · top 15,000 on PyPI
histHist provides a user-friendly interface for…
permissive · top 15,000 on PyPI
mt2Computes stransverse mass (MT2) for particle…
permissive · top 15,000 on PyPI