Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

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


Download files

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

Files for python_papi, version 5.5.1.5
Filename, size File type Python version Upload date Hashes
Filename, size python_papi-5.5.1.5.tar.gz (4.3 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page