Issue |
EPJ Web Conf.
Volume 245, 2020
24th International Conference on Computing in High Energy and Nuclear Physics (CHEP 2019)
|
|
---|---|---|
Article Number | 06004 | |
Number of page(s) | 6 | |
Section | 6 - Physics Analysis | |
DOI | https://doi.org/10.1051/epjconf/202024506004 | |
Published online | 16 November 2020 |
https://doi.org/10.1051/epjconf/202024506004
A New PyROOT: Modern, Interoperable and More Pythonic
1
CERN
2
Karlsruhe Institute of Technology (KIT)
3
Università di Bologna
* e-mail: massimiliano.galli@cern.ch
** e-mail: etejedor@cern.ch
*** e-mail: stefan.wunsch@cern.ch
Published online: 16 November 2020
Python is nowadays one of the most widely-used languages for data science. Its rich ecosystem of libraries together with its simplicity and readability are behind its popularity. HEP is also embracing that trend, often using Python as an interface language to access C++ libraries for the sake of performance. PyROOT, the Python bindings of the ROOT software toolkit, plays a key role here, since it allows to automatically and dynamically invoke C++ code from Python without the generation of any static wrappers beforehand. In that sense, this paper presents the efforts to create a new PyROOT with three main qualities: modern, able to exploit the latest C++ features from Python; pythonic, providing Python syntax to use C++ classes; interoperable, able to interact with the most important libraries of the Python data science toolset.
© The Authors, published by EDP Sciences, 2020
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.