Skip to main content

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.

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.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_papi-5.5.1.4.tar.gz (4.3 MB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page