Python binding for the PAPI library
Project description
Build Status PYPI Version License
PyPAPI is a Python binding for the PAPI (Performance Application Programming Interface) library. PyPAPI implements the whole PAPI High Level API and partially the Low Level API.
Starting with v5.5.1.4, PyPAPI is only compatible with GCC 7.0 or higher. Please use previous releases for older GCC version.
Documentation:
Installing PyPAPI
See this page of the documentation:
Hacking
Building PyPAPI For Local Development
To work on PyPAPI, you first have to clone this repositiory and initialize and update submodules:
git clone https://github.com/flozz/pypapi.git cd pypapi git submodule init git submodule update
Then you have to build both PAPI and the C library inside the pypapi module. This can be done with the following commands:
python setup.py build python pypapi/papi_build.py
Generating Documentation
From a virtualenv:
pip install -r requirements.txt python setup.py build_sphinx
Changelog
5.5.1.5: Fixes issue with module named types.py (#19, thx @mcopik)
5.5.1.4: Fixes compilation with GCC 8 and newer (#18)
5.5.1.3: Removes .o, .lo and other generated objects from the package
5.5.1.2: Partial bindings for the low level API
5.5.1.1: Adds missing files to build PAPI
5.5.1.0: Initial release (binding for papy 5.5.1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.