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.11.tar.gz
.
File metadata
- Download URL: uproot-2.9.11.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 | da71e9e239129ec2ae7a62f9d35aebd46456f05e000ef14f32fe2c9fa8ec92c2 |
|
MD5 | e9091c90d5c1b52b0637e79794473ed3 |
|
BLAKE2b-256 | 71fca37c2421ef3727184c1a17a4edf9dbf5b6a22dc28a8c54316d303ccf67d5 |
File details
Details for the file uproot-2.9.11-py2.py3-none-any.whl
.
File metadata
- Download URL: uproot-2.9.11-py2.py3-none-any.whl
- Upload date:
- Size: 127.6 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 | cda96d7556015b9446bea7d67391e80132b1fc01674bd1cb87c8455e92013d73 |
|
MD5 | 0ea2b06aeaf796e56d99a952d731a05e |
|
BLAKE2b-256 | eeca0c23b89b50e6e387788ad02424f87e3be4b8a8d6582eb54b26bc038cfed6 |