Python binding for the PAPI library
Project description
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
Linting and Code formatting
To build lint the code, you first need to install Nox:
pip install nox
Then, run the following command:
nox -s lint
To automatically coding style issues, run:
nox -s black_fix
Generating Documentation
To build the Sphinx documentation, you first need to install Nox:
pip install nox
Then, run the following command:
nox -s gendoc
Support this project
Want to support this project?
Changelog
[NEXT] (changes on master, but not released yet):
Nothing yet ;)
v6.0.0.2:
misc: Added Python 3.13 support (@flozz)
misc!: Removed Python 3.8 support (@flozz)
v6.0.0.1:
feat!: Updated the PAPI library to v6.0.0.1 (@SerodioJ, #37)
v5.5.1.6:
chore: Added code linting with Flake8 (@flozz)
chore: Added code formatter and reformatted all files with Black (@flozz)
chore: Added Nox to run code linting, code formatting, doc building tasks (@flozz)
chore: Updated dev dependnecies (@flozz)
chore: Automatically build and publish sdist package and wheels for Linux (@flozz, #39)
docs: Updated documentation (@flozz)
v5.5.1.5:
fix: Fixed issue with module named types.py (@mcopik, #19)
v5.5.1.4:
chore: Fixed compilation with GCC 8 and newer (@maresmar, #18)
chore!: PyPAPI is no more compatible with GCC < 7.0
v5.5.1.3:
chore: Removed .o, .lo and other generated objects from the package
v5.5.1.2:
feat: Partial bindings for the low level API
v5.5.1.1:
chore: Added missing files to build PAPI
v5.5.1.0:
feat: 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.
Source Distribution
Built Distributions
Hashes for python_papi-6.0.0.2-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cef9ff4f31dfdd69abf03cad72cc4af6a1d6bf6a3a0029df00e45359a964006e |
|
MD5 | c1eeb12372ca611157e6d9b1275cc9f8 |
|
BLAKE2b-256 | 2f93d6ccb138b58de2f1f5d32e17885df7c3e6b3b8d4127e464f04f5a8a55c93 |
Hashes for python_papi-6.0.0.2-pp310-pypy310_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1670fb38c37c485a38b5c2d89d27c7cf5728febeb51a82451fec39cfbe1055c4 |
|
MD5 | 42808dfc4da3e715ecf47ab99a90bdca |
|
BLAKE2b-256 | ef4be61a1fc845a47898bee7112f5c4296e40cea1ccd6cf76e4909b8dcb449cf |
Hashes for python_papi-6.0.0.2-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 23098a8f4b9d7bf1e42df4b4cfbd5d36d8e91722d8fb9ceb1a12371d5adf4b8b |
|
MD5 | 6e3cb7e710bec53370e567ddf7fd41ad |
|
BLAKE2b-256 | 7feda05e1e8efa5d5ec357a51811e2193d7451133ae6a911a3084dd362e33b29 |
Hashes for python_papi-6.0.0.2-pp39-pypy39_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3033fae3b463de0e697710db8dddb181725dacd2d879120e0ab6019e9eaac132 |
|
MD5 | 4730d207b1a924e66e9e16ae125fc718 |
|
BLAKE2b-256 | d9c65fa0efcffc7d24266ea0b195201db8130fee1fd6b2f7755f6f73ee9546b8 |
Hashes for python_papi-6.0.0.2-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a66bd7fcdb04492f78173cd1f2391fe3dc8f674caeb03d05858a9c4e877a0975 |
|
MD5 | 1f8387e318b6dd9933e7e674150f1d9b |
|
BLAKE2b-256 | c1ca32c48ca92cc6fd35d077050e85fa2fb510aace22134e26e09c699350f0df |
Hashes for python_papi-6.0.0.2-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3995fd7e0c3f5f8297fab48e9df78e2ab2efec25cbed50685bf2b28fe8357cbc |
|
MD5 | fb5b7e6c9883377cf58a3774bd0fa07b |
|
BLAKE2b-256 | 6ff249ad894b3e3a1a1d645c5e398675b745fde1bde807128b0ebb4c78de0bd4 |
Hashes for python_papi-6.0.0.2-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ac2ed38d49bc7425bcc0bdc41411993a63cc2591a8368134ff1932f30157b3f |
|
MD5 | e5b2b9b3fe5a9a1ffe26330d0fe1fcb3 |
|
BLAKE2b-256 | b1d3fa2f0268fcb35e758b2dcab09c938a914824d9a4dcc6277d3ef0a8d9997a |
Hashes for python_papi-6.0.0.2-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22ab900584d7e71b43539584fb7c457f16995f98b8050fc716373c125926241b |
|
MD5 | 6ff7de77a868bd30d7cf7a0f9acb25aa |
|
BLAKE2b-256 | 0310977affa84d6c626bd986f524268c091d5d5f768cf56227e4fe01a7a19998 |
Hashes for python_papi-6.0.0.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc2b4e994cbb2912ead0198621b3990f32c9f78f8812fe28640de7d8fc7d1429 |
|
MD5 | df4e9a7e9920641553b0cc4264ea5472 |
|
BLAKE2b-256 | 92478331baedbd2f8fa2a032b3e39148d1135beb04a8ccd2963a9c891cb16c16 |
Hashes for python_papi-6.0.0.2-cp313-cp313-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f27dfa9f9d5517ccaaea22b55232cdc965eada7bcfe02ce6a903bdeb78aee92 |
|
MD5 | 85afbb7a6a2f14737cb973eb23dd4459 |
|
BLAKE2b-256 | 1f42d3a5b1c188448b60c7e7d3b3a6ab4e5fb341b55a525910c85acdf784e7bc |
Hashes for python_papi-6.0.0.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5041c0675e7d8f0f4372222afd8040a5265b4a91e8e0699ad81ad0025cd5484c |
|
MD5 | de5c900da17629b1a92f666089e2e1ed |
|
BLAKE2b-256 | 364bbbfc286e41917773f248c4735004ffe1994d1db0dbca5459163e34d863fa |
Hashes for python_papi-6.0.0.2-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 988e595b18915b262242118988933f6a1e8b69407a79495e7d8c44df9e63ebdb |
|
MD5 | b28d1ec84df1f699feb8ef41e09ffe2d |
|
BLAKE2b-256 | 9be554824b46b4cc99c89af3cdc0087374bd93f09cf38b931beb4b0cd3231982 |
Hashes for python_papi-6.0.0.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28ec7c81402f625767b35bad748dded388a3a12f7baec7092770be8af4ca296a |
|
MD5 | a0df1fd92464a94474147829d91dfaca |
|
BLAKE2b-256 | 706247b6526abd0c3337b59bd99249dd3bf4f5ca80c60507a2db4272a2d0c979 |
Hashes for python_papi-6.0.0.2-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28f24ce4d3704e2f7215f2b4bf18b5759e02af6396786cc19e24a0e81103a5bc |
|
MD5 | 8bfbdf37449482d90a2e135ae2f7412a |
|
BLAKE2b-256 | 3cb0cf791198031802b286beb1ebf82c5dfae78572d07025af7b222d50af2432 |
Hashes for python_papi-6.0.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4253fbe1e9ee94a46a99f35295268e2867a119b6aaad756dffa72c9bd9590b46 |
|
MD5 | b389b95be56134f74b948f204b8702ec |
|
BLAKE2b-256 | 10fb5f8b7ac9862961e8c52e459fe86b50d359f8b1ae8ac9f5d95d2cc52dc7d3 |
Hashes for python_papi-6.0.0.2-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c9a098ccfe13978196804d4595cbe442c73bbb052dbece118d7d423e5786f83 |
|
MD5 | 6874a2f061a0c265292a1e2e4044c04d |
|
BLAKE2b-256 | ba89e8d3ad5ca59d09536cda071280517ddd1bbb8354e3b98fc08ff095540e3b |
Hashes for python_papi-6.0.0.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c76bdfc13b643984af3c20f663621ad27f2586e4db34b4fd4b9b13c993029a8e |
|
MD5 | 6037b214fed931276ac9e544d95c76ac |
|
BLAKE2b-256 | ef35cbd4c4c587cfa5359e37b6e1acf89b5a76f9005fa30745a364fedeca1178 |
Hashes for python_papi-6.0.0.2-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18e0d7b10af00ac071a9c5bf1f19dce70193e9a8f7b9ea23444804b063bbc4af |
|
MD5 | bcd7bb363c30bbc615769e4b27ad6f95 |
|
BLAKE2b-256 | 7f3d30909fd246543526775e85331849843bffba7b51cd6e1400aaca3adaa59c |
Hashes for python_papi-6.0.0.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a20b9bcd3cc03a44cb48281252f176ae5cc283b719751ee18e8a192ff46014ed |
|
MD5 | a86139a083ae0c90b60d583ada4e1dd7 |
|
BLAKE2b-256 | ead5555d933c3538b2cfb603f2f2bfd636f9405564569a41c757deec2f5b4720 |
Hashes for python_papi-6.0.0.2-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ff9baa949c4e97600b15d7b0aaa9603e659386ca874a2141658cfa1ebffbd6a |
|
MD5 | 540ad28a92bfb7c83b7c81cbff56c299 |
|
BLAKE2b-256 | 2fe1825475356ea68f2404925c89889c9ecb537c16ca468ef030007bc701642b |
Hashes for python_papi-6.0.0.2-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22dac9b79c4d2408870f114a39f223f38405c1d9d3f39aab3b98997c6e563ed9 |
|
MD5 | 734582985ce2fa97afa5e4f2187bc4eb |
|
BLAKE2b-256 | c48e33f17bc8865cd346128392080383172f0e12b5a8237b593edd19f3f9cf3a |
Hashes for python_papi-6.0.0.2-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7bc0b8eea9663fabac9739dbe8394daf7f522585dcba475bf115164aeab9a26a |
|
MD5 | d4329dedf30abce3a5de8f0ed6f66490 |
|
BLAKE2b-256 | a5eec383b22b63b7b6fc7d424d7b9a5d0fcfdfec164983bc8c5e11aed70fef7b |
Hashes for python_papi-6.0.0.2-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 403d0782efb2aada5664360b567ae6cd8701c2abb32ed0cc80b39bdca5f0a35d |
|
MD5 | 7f5323f2be0146dfde3eb46594482c61 |
|
BLAKE2b-256 | 2967db6fc8c33bfeb7511b2571942528a5fcd59cfff74cfe91f77123dd8a822d |
Hashes for python_papi-6.0.0.2-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6aefaecac2f9e7f7e8778e9ba49bc0cc7eb6c2bfd108014ad9e76ac314da59a |
|
MD5 | ced3d199227e51c5baa5b39110bef7f9 |
|
BLAKE2b-256 | 86f311b079a042d96377d8b7f08a261a8383eef83a05f903bb9efe9db0e8659d |