{ "info": { "author": "Bart Pelssers", "author_email": "bartp@nikhef.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", "Natural Language :: English", "Programming Language :: C++", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "===============================\nbroot\n===============================\n\n.. image:: https://img.shields.io/travis/pelssers/broot.svg\n :target: https://travis-ci.org/pelssers/broot\n\n.. image:: https://img.shields.io/pypi/v/broot.svg\n :target: https://pypi.python.org/pypi/broot\n\n\nLibrary for converting python numpy datastructures to the ROOT output format.\n\n* Free software: GPL v2 license\n* Documentation: https://broot.readthedocs.org.\n\n\nThe ROOT(https://root.cern.ch/) data analysis framework is used much in High Energy Physics (HEP) and has its own output format (.root). ROOT can be easily interfaced with software written in C++. For software tools in Python there exists pyROOT(https://root.cern.ch/drupal/content/pyroot). Unfortunately pyROOT does not work well with python3.4.\n\n**broot** is a small library that converts data in python numpy ndarrays to ROOT files containing trees with a branch for each array.\n\nThe goal of this library is to provide a generic way of writing python numpy datastructures to ROOT files. The library should be portable and supports both python2, python3, ROOT v5 and ROOT v6 (requiring no modifications on the ROOT part, just the default installation). Installation of the library should only require a user to compile to library once or install it as a python package.\n\nSecondly the library can be used to convert other file formats that store information in numpy-like structures, such as HDF5, to ROOT.\n\nInstallation\n------------\n\nTo use broot a user must have installed python, ROOT and be able to compile C++ code. To install::\n\n pip install broot\n\nTo use the examples clone the repository and run::\n\n python setup.py develop\n\nUse\n---\n\nTo use broot one needs libRootOutput.so and RootWrap.py\n\nRootWrap can be imported in any python file and a new RootOutput instance can be made:\n\n from broot import RootWrap\n\n OUT = RootWrap.RootOutput()\n\nTwo example scripts are provided in 'examples'.\n\n- 'convert.py' demonstrates the functions available using some ndarrays.\n- 'hdf_to_root.py' is a first implementation of a HDF5 to ROOT converter (HDF5 file not provided).\n\nCurrent support:\n----------------\n\n- python2\n- python3.4\n- ROOT v5\n- ROOT v6\n- compiles on gcc versions with c++11\n- compiles on gcc versions without c++11 (see branch no-c++11)\n- tested on GNU/Linux\n\nTodo list:\n----------\n\n- Proper Makefile instead of 'compile.sh'\n- Python package\n- HDF5 converter class\n- OS support for Windows and Mac\n- Documentation\n\n\n\n\nHistory\n-------\n\n0.1.0 (2015-05-25)\n---------------------\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/pelssers/broot", "keywords": "broot", "license": "GPL2", "maintainer": null, "maintainer_email": null, "name": "broot", "package_url": "https://pypi.org/project/broot/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/broot/", "project_urls": { "Homepage": "https://github.com/pelssers/broot" }, "release_url": "https://pypi.org/project/broot/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Library for converting python numpy datastructures to the ROOT output format.", "version": "0.1.1" }, "last_serial": 1577006, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "28e8c1d5605b7e1fb3baf0c28364ec21", "sha256": "4e870012e9eac451080912445b88317041062ed6ecf1e0e107736a07f26de72f" }, "downloads": -1, "filename": "broot-0.1.1-py3.4.egg", "has_sig": false, "md5_digest": "28e8c1d5605b7e1fb3baf0c28364ec21", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 40191, "upload_time": "2015-06-03T16:32:06", "url": "https://files.pythonhosted.org/packages/d8/ee/d505ee946ca5f674e7a7cc5451c99bfc5fa17c29f5e029c7f9edc15a8618/broot-0.1.1-py3.4.egg" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "28e8c1d5605b7e1fb3baf0c28364ec21", "sha256": "4e870012e9eac451080912445b88317041062ed6ecf1e0e107736a07f26de72f" }, "downloads": -1, "filename": "broot-0.1.1-py3.4.egg", "has_sig": false, "md5_digest": "28e8c1d5605b7e1fb3baf0c28364ec21", "packagetype": "bdist_egg", "python_version": "3.4", "requires_python": null, "size": 40191, "upload_time": "2015-06-03T16:32:06", "url": "https://files.pythonhosted.org/packages/d8/ee/d505ee946ca5f674e7a7cc5451c99bfc5fa17c29f5e029c7f9edc15a8618/broot-0.1.1-py3.4.egg" } ] }