<commit_before>.. -*- mode: rst -*-

About
=====

rootpy aims to provide a more feature-rich and pythonic interface
with the `ROOT <http://root.cern.ch/>`_ libraries on top of
the existing `PyROOT <http://root.cern.ch/drupal/content/pyroot>`_ interface.

More specifically, rootpy provides:

* an interface between ROOT and `matplotlib <http://matplotlib.sourceforge.net/>`_.
  Don't like the way your plots look in ROOT? Simply use rootpy to
  plot your ROOT histograms or graphs with matplotlib instead

* easier manipulation of histograms, graphs, and TVector/TLorentzVectors.
  rootpy provides classes which inherit from these ROOT classes
  which implement the Python arithmetic operators

* an easy way to create and read ROOT TTrees and a mechanism for defining
  objects and collections of objects whose attributes are TTree branches.
  You may also decorate TTree objects with additional methods and attributes.
  See examples/tree.

* easy navigation through TFiles. rootpy wraps TFile and implements the
  natural naming convention so that objects may be retrieved with
  myFile.someDirectory.treeName, for example

* the ability to convert ROOT TFiles containing TTrees into
  `HDF5 <http://www.hdfgroup.org/HDF5/>`_ format with `PyTables <http://www.pytables.org/>`_

* a framework for parallelizing processes which run over many TTrees

* a collection of useful command line scripts

Requirements
============

`ROOT <http://root.cern.ch/>`_ with `PyROOT <http://root.cern.ch/drupal/content/pyroot>`_ enabled.
`matplotlib <http://matplotlib.sourceforge.net/>`_, `numpy <http://numpy.scipy.org/>`_,
`PyTables <http://www.pytables.org/>`_, and `PyYAML <http://pyyaml.org/>`_ are optional.

Install
=======

The easiest way to install rootpy is via ``easy_install``.
To install for all users::

    sudo easy_install rootpy

To install in your home directory::

    easy_install --user rootpy<commit_msg>wording<commit_after>.. -*- mode: rst -*-

About
=====

rootpy aims to provide a more feature-rich and pythonic interface
with the `ROOT <http://root.cern.ch/>`_ libraries on top of
the existing `PyROOT <http://root.cern.ch/drupal/content/pyroot>`_ interface.

More specifically, rootpy provides:

* an interface between ROOT and `matplotlib <http://matplotlib.sourceforge.net/>`_.
  Don't like the way your plots look in ROOT? Simply use rootpy to
  plot your ROOT histograms or graphs with matplotlib instead

* easier manipulation of histograms, graphs, and TVector/TLorentzVectors.
  rootpy provides classes that inherit from these ROOT classes
  and implement the Python arithmetic operators

* an easy way to create and read ROOT TTrees and a mechanism for defining
  objects and collections of objects whose attributes are TTree branches.
  You may also decorate TTree objects with additional methods and attributes.
  See examples/tree.

* easy navigation through TFiles. rootpy wraps TFile and implements the
  natural naming convention so that objects may be retrieved with
  myFile.someDirectory.treeName, for example

* the ability to convert ROOT TFiles containing TTrees into
  `HDF5 <http://www.hdfgroup.org/HDF5/>`_ format with `PyTables <http://www.pytables.org/>`_

* a framework for parallelizing processes that run over many TTrees

* a collection of useful command line scripts

Requirements
============

`ROOT <http://root.cern.ch/>`_ with `PyROOT <http://root.cern.ch/drupal/content/pyroot>`_ enabled.
`matplotlib <http://matplotlib.sourceforge.net/>`_, `numpy <http://numpy.scipy.org/>`_,
`PyTables <http://www.pytables.org/>`_, and `PyYAML <http://pyyaml.org/>`_ are optional.

Install
=======

The easiest way to install rootpy is via ``easy_install``.
To install for all users::

    sudo easy_install rootpy

To install in your home directory::

    easy_install --user rootpy
{'fraction_non_alphanumeric': 0.10052356020942409, 'fraction_numerical': 0.0010471204188481676, 'mean_word_length': 4.344055944055944, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1135277', 'n_tokens_mistral': 1144, 'n_tokens_neox': 1087, 'n_words': 437}