Skip to main content

ROOT I/O in pure Python and Numpy.

Project description

uproot

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:

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

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

uproot-2.9.10.tar.gz (52.2 MB view details)

Uploaded Source

Built Distribution

uproot-2.9.10-py2.py3-none-any.whl (127.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file uproot-2.9.10.tar.gz.

File metadata

  • Download URL: uproot-2.9.10.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

Hashes for uproot-2.9.10.tar.gz
Algorithm Hash digest
SHA256 aac1c8af3c0030f7371cc61fd13df01afa9b75887f25c8f873fea275ca0da545
MD5 e63c4c6fd8970d7cf41bec048d27b6d8
BLAKE2b-256 d27fd57e001c64a5959e1dc1c47541b30700ca1c868ee7c02b4b98cd44b85ef3

See more details on using hashes here.

Provenance

File details

Details for the file uproot-2.9.10-py2.py3-none-any.whl.

File metadata

  • Download URL: uproot-2.9.10-py2.py3-none-any.whl
  • Upload date:
  • Size: 127.5 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

Hashes for uproot-2.9.10-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8fafeb63ae81ed975cf054559c101cec6d67c8be1ab4067215fa0f7b14ac31b6
MD5 225f78d62cf74fe6f53bf102d8488dc7
BLAKE2b-256 c057318fac41aa53701999524f334ee7ecd79417e305f5b7d303336d13e98d30

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page