Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

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.

Release history Release notifications

This version
History Node

2.9.0

History Node

2.8.33

History Node

2.8.32

History Node

2.8.31

History Node

2.8.30

History Node

2.8.29

History Node

2.8.28

History Node

2.8.27

History Node

2.8.26

History Node

2.8.25

History Node

2.8.24

History Node

2.8.23

History Node

2.8.21

History Node

2.8.20

History Node

2.8.19

History Node

2.8.18

History Node

2.8.17

History Node

2.8.16

History Node

2.8.15

History Node

2.8.14

History Node

2.8.13

History Node

2.8.12

History Node

2.8.11

History Node

2.8.10

History Node

2.8.9

History Node

2.8.8

History Node

2.8.7

History Node

2.8.6

History Node

2.8.5

History Node

2.8.4

History Node

2.8.3

History Node

2.8.2

History Node

2.8.1

History Node

2.8.0

History Node

2.7.4

History Node

2.7.3

History Node

2.7.1

History Node

2.7.0

History Node

2.6.19

History Node

2.6.18

History Node

2.6.17

History Node

2.6.16

History Node

2.6.15

History Node

2.6.14

History Node

2.6.13

History Node

2.6.12

History Node

2.6.11

History Node

2.6.10

History Node

2.6.9

History Node

2.6.8

History Node

2.6.7

History Node

2.6.6

History Node

2.6.5

History Node

2.6.4

History Node

2.6.3

History Node

2.6.2

History Node

2.6.1

History Node

2.6.0

History Node

2.5.22

History Node

2.5.21

History Node

2.5.20

History Node

2.5.18

History Node

2.5.17

History Node

2.5.16

History Node

2.5.15

History Node

2.5.14

History Node

2.5.13

History Node

2.5.12

History Node

2.5.11

History Node

2.5.10

History Node

2.5.9

History Node

2.5.8

History Node

2.5.5

History Node

2.5.4

History Node

2.5.3

History Node

2.5.2

History Node

2.5.0

History Node

2.4.1

History Node

2.4.0

History Node

2.3.3

History Node

2.3.2

History Node

2.3.1

History Node

2.3.0

History Node

2.1.5

History Node

2.1.4

History Node

2.1.2

History Node

2.1.1

History Node

2.0.5

History Node

2.0.4

History Node

2.0.3

History Node

2.0.2

History Node

1.6.2

History Node

1.6.1

History Node

1.6.0

History Node

1.5.3

History Node

1.5.0

History Node

1.4.2

History Node

1.3.1

History Node

1.3.0

History Node

1.2.1

History Node

1.2.0

History Node

1.0.1

History Node

1.0.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
uproot-2.9.0.tar.gz (47.3 MB) Copy SHA256 hash SHA256 Source None Jun 22, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page