https://github.com/rootpy/rootpy

A pythonic interface for the ROOT libraries on top of the PyROOT bindings.

https://github.com/rootpy/rootpy

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    13 of 29 committers (44.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (16.5%) to scientific vocabulary

Keywords

cern hdf5 hep matplotlib numpy python root

Keywords from Contributors

scikit-hep cython root-cern high-energy-physics
Last synced: 5 months ago · JSON representation

Repository

A pythonic interface for the ROOT libraries on top of the PyROOT bindings.

Basic Info
  • Host: GitHub
  • Owner: rootpy
  • License: bsd-3-clause
  • Language: Python
  • Default Branch: master
  • Homepage: rootpy.org
  • Size: 11 MB
Statistics
  • Stars: 204
  • Watchers: 26
  • Forks: 70
  • Open Issues: 42
  • Releases: 0
Topics
cern hdf5 hep matplotlib numpy python root
Created about 14 years ago · Last pushed about 6 years ago
Metadata Files
Readme Contributing License

README.rst

.. -*- mode: rst -*-

`[see full documentation] `_

rootpy: Pythonic ROOT
=====================

.. image:: https://img.shields.io/pypi/v/rootpy.svg
   :target: https://pypi.python.org/pypi/rootpy
.. image:: https://travis-ci.org/rootpy/rootpy.png
   :target: https://travis-ci.org/rootpy/rootpy
.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.18897.svg
   :target: http://dx.doi.org/10.5281/zenodo.18897

Python has become the language of choice for high-level applications where
fast prototyping and efficient development are important, while
glueing together low-level libraries for performance-critical tasks.
The `PyROOT `_ bindings introduced
`ROOT `_ into the world of Python, however, interacting
with ROOT in Python should not feel like you are still writing C++.

The rootpy project is a community-driven initiative aiming to provide a more
pythonic interface with ROOT on top of the existing PyROOT bindings. Given
Python's reflective and dynamic nature, rootpy also aims to improve ROOT design
flaws and supplement existing ROOT functionality. The scientific Python
community also offers a multitude of powerful packages such as
`SciPy `_,
`NumPy `_,
`matplotlib `_,
`scikit-learn `_,
and `PyTables `_,
but a suitable interface between them and ROOT has been lacking. rootpy
provides the interfaces and conversion mechanisms required to liberate your
data and to take advantage of these alternatives if needed.

Key features include:

* Improvements to help you create and manipulate trees, histograms, cuts
  and vectors.

* Dictionaries for STL types are compiled for you automatically.

* Redirect ROOT's messages through Python's logging system.

* Optionally turn ROOT errors into Python exceptions.

* ``Get`` and ``Set`` methods on ROOT objects are also properties.

* Easy navigation through ROOT files. You can now access objects with
  ``my_file.some_directory.tree_name``, for example.

* Colours and other style attributes can be referred to by descriptive strings.

* Provides a way of mapping ROOT trees onto python objects and collections.

* Plot your ROOT histograms or graphs with `matplotlib`_.

* Conversion of ROOT trees into `NumPy`_ `ndarrays
  `_
  and `recarrays
  `_
  through the related `root_numpy `_
  package.

* Conversion of ROOT files containing trees into
  `HDF5 `_ format with
  `PyTables`_.

* ``roosh``, a Bash-like shell environment for the ROOT file, very useful for
  quick ROOT file inspection and interactive plotting.

* ``rootpy``, a command for common tasks such as summing histograms or drawing
  tree expressions over multiple files, listing the contents of a file,
  or inspecting tree branches and their sizes and types.

Owner

  • Name: the rootpy project
  • Login: rootpy
  • Kind: organization

GitHub Events

Total
  • Watch event: 4
Last Year
  • Watch event: 4

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 3,309
  • Total Committers: 29
  • Avg Commits per committer: 114.103
  • Development Distribution Score (DDS): 0.129
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Noel Dawe n****e@g****m 2,883
Peter Waller p@p****t 163
Evan Friis e****s@g****m 48
Christoph Deil D****h@g****m 47
Bakar Chargeishvili b****i@g****m 24
Bakar Chargeishvili r****b 19
Ben Krikler b****r@c****h 12
Jeff Klukas k****s@w****u 12
qbuat q****t@c****h 11
Scott Stevenson s****t@s****o 11
Ruggero Turra r****a@c****h 11
Noel Dawe e****w@l****a 9
Sebastian Schmitt s****t@p****e 9
Christian Bourjau c****o@w****e 8
Mauro Verzetti m****t@c****h 8
Daniela Remenska r****a@g****m 7
Alessandro Thea t****e@g****m 5
Henry Schreiner h****n@c****h 4
kreczko l****o@g****m 4
marcel r****r@p****e 3
Jeff Klukas k****s@d****u 2
Scott Stevenson s****t@s****m 2
Albert Puig a****g@c****h 1
Russell Woods Smith r****h@c****h 1
Anna Elizabeth Woodard a****d@n****u 1
Emyr Clement e****t@b****k 1
Jeroen Hegeman j****n@g****m 1
Matt Hollingsworth m****h@g****m 1
fabianWhoknows f****s@g****m 1

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 61
  • Total pull requests: 39
  • Average time to close issues: 5 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 45
  • Total pull request authors: 8
  • Average comments per issue: 3.15
  • Average comments per pull request: 0.64
  • Merged pull requests: 32
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • cdeil (3)
  • kreczko (3)
  • beojan (3)
  • davereikher (2)
  • benkrikler (2)
  • fabianWhoknows (2)
  • nwoods (2)
  • henryiii (2)
  • masonproffitt (2)
  • joliver92 (2)
  • ndawe (2)
  • phi-mah (2)
  • andrey-popov (2)
  • greyxray (1)
  • jdamp (1)
Pull Request Authors
  • ndawe (24)
  • rakab (8)
  • benkrikler (2)
  • kreczko (1)
  • annawoodard (1)
  • henryiii (1)
  • fabianWhoknows (1)
  • masonproffitt (1)
Top Labels
Issue Labels
long-term (2) new feature (1)
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 238 last-month
  • Total docker downloads: 462
  • Total dependent packages: 1
  • Total dependent repositories: 23
  • Total versions: 11
  • Total maintainers: 2
pypi.org: rootpy

A pythonic layer on top of the ROOT framework's PyROOT bindings.

  • Versions: 11
  • Dependent Packages: 1
  • Dependent Repositories: 23
  • Downloads: 238 Last month
  • Docker Downloads: 462
Rankings
Docker downloads count: 2.1%
Dependent repos count: 3.0%
Dependent packages count: 4.8%
Stargazers count: 4.8%
Forks count: 5.2%
Average: 5.6%
Downloads: 13.5%
Maintainers (2)
Last synced: 6 months ago

Dependencies

docs/requirements.txt pypi
  • numpydoc *
  • sphinxcontrib-programoutput *
requirements/array.txt pypi
  • numpy >=1.6.1
  • root_numpy >=3.0.2
requirements/matplotlib.txt pypi
  • matplotlib >=1.2.0
requirements/roosh.txt pypi
  • readline >=6.2.4
  • termcolor >=1.1.0
requirements/stats.txt pypi
  • uncertainties *
requirements/tables.txt pypi
  • tables >=2.3