All Projects → scikit-hep → Uproot4

scikit-hep / Uproot4

Licence: bsd-3-clause
ROOT I/O in pure Python and NumPy.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Uproot4

Uproot3
ROOT I/O in pure Python and NumPy.
Stars: ✭ 312 (+290%)
Mutual labels:  analysis, file-format, big-data, bigdata, numpy, hep, root
Awkward 0.x
Manipulate arrays of complex data structures as easily as Numpy.
Stars: ✭ 216 (+170%)
Mutual labels:  analysis, big-data, numpy, root
Rootpy
A pythonic interface for the ROOT libraries on top of the PyROOT bindings.
Stars: ✭ 186 (+132.5%)
Mutual labels:  numpy, hep, root
Root numpy
The interface between ROOT and NumPy
Stars: ✭ 130 (+62.5%)
Mutual labels:  numpy, hep, root
UnROOT.jl
Native Julia I/O package to work with CERN ROOT files
Stars: ✭ 52 (-35%)
Mutual labels:  analysis, bigdata, hep
numpythia
The interface between PYTHIA and NumPy
Stars: ✭ 33 (-58.75%)
Mutual labels:  numpy, hep
leaflet heatmap
简单的可视化湖州通话数据 假设数据量很大,没法用浏览器直接绘制热力图,把绘制热力图这一步骤放到线下计算分析。使用Apache Spark并行计算数据之后,再使用Apache Spark绘制热力图,然后用leafletjs加载OpenStreetMap图层和热力图图层,以达到良好的交互效果。现在使用Apache Spark实现绘制,可能是Apache Spark不擅长这方面的计算或者是我没有设计好算法,并行计算的速度比不上单机计算。Apache Spark绘制热力图和计算代码在这 https://github.com/yuanzhaokang/ParallelizeHeatmap.git .
Stars: ✭ 13 (-83.75%)
Mutual labels:  big-data, bigdata
aut
The Archives Unleashed Toolkit is an open-source toolkit for analyzing web archives.
Stars: ✭ 111 (+38.75%)
Mutual labels:  big-data, analysis
Cortx
CORTX Community Object Storage is 100% open source object storage uniquely optimized for mass capacity storage devices.
Stars: ✭ 426 (+432.5%)
Mutual labels:  big-data, bigdata
SparkProgrammingInScala
Apache Spark Course Material
Stars: ✭ 57 (-28.75%)
Mutual labels:  big-data, bigdata
pyjet
The interface between FastJet and NumPy
Stars: ✭ 31 (-61.25%)
Mutual labels:  numpy, hep
Circosjs
d3 library to build circular graphs
Stars: ✭ 436 (+445%)
Mutual labels:  big-data, bigdata
big data
A collection of tutorials on Hadoop, MapReduce, Spark, Docker
Stars: ✭ 34 (-57.5%)
Mutual labels:  big-data, bigdata
v6.dooring.public
可视化大屏解决方案, 提供一套可视化编辑引擎, 助力个人或企业轻松定制自己的可视化大屏应用.
Stars: ✭ 323 (+303.75%)
Mutual labels:  big-data, bigdata
NiFi-Rule-engine-processor
Drools processor for Apache NiFi
Stars: ✭ 34 (-57.5%)
Mutual labels:  big-data, bigdata
root pandas
A Python module for conveniently loading/saving ROOT files as pandas DataFrames
Stars: ✭ 108 (+35%)
Mutual labels:  analysis, hep
Spark Movie Lens
An on-line movie recommender using Spark, Python Flask, and the MovieLens dataset
Stars: ✭ 745 (+831.25%)
Mutual labels:  big-data, bigdata
Sdc
Intel® Scalable Dataframe Compiler for Pandas*
Stars: ✭ 623 (+678.75%)
Mutual labels:  big-data, numpy
Hadoop For Geoevent
ArcGIS GeoEvent Server sample Hadoop connector for storing GeoEvents in HDFS.
Stars: ✭ 5 (-93.75%)
Mutual labels:  big-data, bigdata
Countly Sdk Cordova
Countly Product Analytics SDK for Cordova, Icenium and Phonegap
Stars: ✭ 69 (-13.75%)
Mutual labels:  big-data, bigdata

PyPI version Conda-Forge Python 3.5‒3.9 BSD-3 Clause License Continuous integration tests

Scikit-HEP NSF-1836650 DOI 10.5281/zenodo.4340632 Documentation Gitter

Uproot is a reader and 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 to cast blocks of data from the ROOT file as Numpy arrays.

Installation

Uproot can be installed from PyPI using pip (Awkward Array is optional but highly recommended):

pip install uproot awkward

Uproot is also available using conda (so is Awkward Array, which conda installs automatically):

conda install -c conda-forge uproot

If you have already added conda-forge as a channel, the -c conda-forge is unnecessary. Adding the channel is recommended because it ensures that all of your packages use compatible versions:

conda config --add channels conda-forge
conda update --all

Note: if you need to write ROOT files, you'll need to use the deprecated uproot3 for now. This feature is coming to the new version soon.

Getting help

Start with the tutorials and reference documentation.

Installation for developers

Uproot is an ordinary Python library; you can get a copy of the code with

git clone https://github.com/scikit-hep/uproot4.git

and install it locally by calling pip install . in the repository directory.

If you need to develop Awkward Array as well, see its installation for developers.

Dependencies

Uproot's only strict dependency is NumPy. This is the only dependency that pip will automatically install.

Awkward Array is highly recommended. It is not a strict dependency to allow Uproot to be used in restrictive environments. If you're using Uproot without Awkward Array, you'll have to use the library="np" option or globally set uproot.default_library to return arrays as NumPy arrays (see documentation).

  • awkward: be sure to use Awkward Array 1.x.

The following libraries are also useful in conjunction with Uproot, but are not necessary. If you call a function that needs one, you'll be prompted to install it. (Conda installs most of these automatically.)

For ROOT files, compressed different ways:

  • lz4 and xxhash: only if reading ROOT files that have been LZ4-compressed.
  • zstandard: only if reading ROOT files that have been ZSTD-compressed.
  • backports.lzma: only if reading ROOT files that have been LZMA-compressed (in Python 2).

For remote data:

  • xrootd: only if reading files with root:// URLs.

For exporting data to other libraries:

  • pandas: only if library="pd".
  • cupy: only if library="cp" (reads arrays onto GPUs).
  • boost-histogram: only if converting histograms to boost-histogram with histogram.to_boost().
  • hist: only if converting histograms to hist with histogram.to_hist().

Acknowledgements

Support for this work was provided by NSF cooperative agreement OAC-1836650 (IRIS-HEP), grant OAC-1450377 (DIANA/HEP) and PHY-1520942 (US-CMS LHC Ops).

Thanks especially to the gracious help of Uproot contributors (including the original repository).


Jim Pivarski

💻 📖 🚇 🚧

Pratyush Das

💻 🚇

Chris Burr

💻 🚇

Dmitri Smirnov

💻

Matthew Feickert

🚇

Tamas Gal

💻

Luke Kreczko

💻 ⚠️

Nicholas Smith

💻

Noah Biederbeck

💻

Oksana Shadura

💻 🚇

Henry Schreiner

💻 🚇 ⚠️

Mason Proffitt

💻 ⚠️

Jonas Rembser

💻

benkrikler

💻

Hans Dembinski

📖

Marcel R.

💻

Ruggero Turra

💻

Jonas Rübenach

💻

bfis

💻

Raymond Ehlers

💻

Andrzej Novak

💻

Josh Bendavid

💻

Doug Davis

💻

Chao Gu

💻

Lukas Koch

💻

Michele Peresano

💻

Edoardo

💻

JMSchoeffmann

💻

alexander-held

💻

Giordon Stark

💻

Ryunosuke O'Neil

💻

ChristopheRappold

📖

💻: code, 📖: documentation, 🚇: infrastructure, 🚧: maintainance, ⚠: tests and feedback, 🤔: foundational ideas.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].