ROOT I/O in pure Python and Numpy.
Project description
uproot (originally μproot, for “micro-Python ROOT”) is a reader and (someday) a writer of the ROOT file format using only Python and Numpy. Unlike the standard C++ ROOT implementation, uproot is only an I/O library, primarily intended to stream data into machine learning libraries in Python. Unlike PyROOT and root_numpy, uproot does not depend on C++ ROOT. Instead, it uses Numpy calls to rapidly cast data blocks in the ROOT file as Numpy arrays.
It is important to note that uproot is not maintained by the ROOT project team, so post bug reports as uproot GitHub issues, not on any ROOT forum.
Installation
Install uproot like any other Python package:
pip install uproot --user
or similar (use sudo, virtualenv, or conda if you wish).
Strict dependencies:
Recommended dependencies:
Optional dependencies:
XRootD to access remote files
futures for parallel processing; this is part of the Python 3 standard library, so only install for Python 2
Reminder: you do not need C++ ROOT to run uproot.
Tutorial
See the project homepage for a tutorial.
Interactive tutorial
Run this tutorial on Binder.
Reference documentation
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
File details
Details for the file uproot-2.9.9.tar.gz
.
File metadata
- Download URL: uproot-2.9.9.tar.gz
- Upload date:
- Size: 52.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb101236c98083700355253cba592457581b242f2c43d991d4536885d9e5f94b |
|
MD5 | 48ec934d3ba6ba0714e7229c7d66f19e |
|
BLAKE2b-256 | 7ff89a8fa2556b4024e441ee6a2597915712d749dff482bd0639686efbc3591c |
Provenance
File details
Details for the file uproot-2.9.9-py2.py3-none-any.whl
.
File metadata
- Download URL: uproot-2.9.9-py2.py3-none-any.whl
- Upload date:
- Size: 127.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 491321755725aad684f2ee5eadf1b6fda3fddb297523c0fd9dc432314c1cf4b5 |
|
MD5 | d12429e575a3b6ed7117d759c272a372 |
|
BLAKE2b-256 | 110faf67e39595932e17f7e2b03b0d5371444bba3c3b0f1609ae9d7e520257af |