Metadata-Version: 1.2
Name: pyroot-zen
Version: 1.1.3
Summary: A wrapper around `PyROOT` for better syntax simplification.
Home-page: https://gitlab.com/ckhurewa/pyroot-zen
Author: Chitsanu Khurewathanakul
Author-email: chitsanu.khurewathanakul@gmail.com
License: GNU GPLv3
Description: ==============
        ``pyroot-zen``
        ==============
        
        .. image:: https://img.shields.io/pypi/v/pyroot-zen.svg
           :target: https://pypi.python.org/pypi/pyroot-zen
        .. image:: https://gitlab.com/ckhurewa/pyroot-zen/badges/master/pipeline.svg
           :target: https://gitlab.com/ckhurewa/pyroot-zen/commits/master
        .. image:: https://gitlab.com/ckhurewa/pyroot-zen/badges/master/coverage.svg
           :target: https://ckhurewa.gitlab.io/pyroot-zen
        .. image:: https://img.shields.io/badge/License-GPL%20v3-blue.svg
           :target: https://www.gnu.org/licenses/gpl-3.0
        .. image:: https://readthedocs.org/projects/pyroot-zen/badge/?version=latest
           :target: http://pyroot-zen.readthedocs.io/en/latest/?badge=latest
           :alt: Documentation Status  
        .. image:: https://img.shields.io/pypi/pyversions/pyroot-zen.svg
        .. image:: https://img.shields.io/github/tag/root-project/root.svg
           :target: https://hub.docker.com/r/rootproject/root-ubuntu16
        
        ``pyroot_zen`` is a wrapper around ``PyROOT`` with better syntax simplification. By design, it does NOT introduce any new APIs, in order to make its usage more intuitive, as well as being compatible with other packages.
        
        Why should you use this? as the Zen of Python says: "Readability counts".
        
        To use, you need only one line::
        
            >> import pyroot_zen
        
        where all objects in ``ROOT`` namespace are now patched.
        
        Features at a glance:
        
        - Pythonic property instead of Getter/Setter.
            - e.g., ``hist.xaxis.title = "mass"`` instead of ``hist.GetAxis().SetTitle("mass")``
        - Automatic (awkward ``C++`` to ``python``) arguments conversion.
            - e.g., ``ROOT.TPolyLine(3, [1,2,3], [1,4,9])`` without using ``array``.
        - Pythonic iterable as expected.
        
        How does it work? Basically intercepting ``__getattr__, __getattribute__, __init__`` call where necessary.
        
        Tested with: ROOT 6.08.06 (OSX homebrew), python 2.7.13, pytest 3.1.1.
        
        Relationship with other packages
        --------------------------------
        
        - ``ROOT``: This is required to be installed by the user, and ``PyROOT`` should also be available.
        
        - ``RooStats``: If this is installed, the features will also be available automatically.
        
        - ``rootpy``: While on the surface it looks like they share a lot of similarity, the 2 packages usages are very different: ``rootpy`` requires the user to use the new classes/functions from its namespace to benefit from its functionality, whereas ``pyroot_zen`` injects the functionality into objects in ``PyROOT`` directly, and focusing only on syntaxes reduction.
        
        
Platform: unix
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: Information Technology
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Utilities
Requires-Python: ~=2.7
