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.1:
feat!: Updated the PAPI library to v6.0.0.1
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.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 633209c2dbc88bbfd9df193c7e528eb1a97570c2a953d9b13da7811e3724aff5 |
|
MD5 | b3389e630092e9dd6717f2e3b16addc3 |
|
BLAKE2b-256 | 0c556e7793dd25f2cfc36fc9325431993b2ed935b8313bf65e44bf03813666ef |
Hashes for python_papi-6.0.0.1-pp310-pypy310_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ef0da6bec214a1da874574a3eb290352b127f8d842538448344f86b2af6ae72 |
|
MD5 | 986089f2a44f0c24eb7b52a703a8a7e6 |
|
BLAKE2b-256 | 618e9bfc6ead73ff5275d6e4ca54d4939744ed2b9eb486f39867532029e31bf7 |
Hashes for python_papi-6.0.0.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46b2100da0b9d199cc400e1ca35b2ac4e911ad7d21836f62de2ca48bea29cc53 |
|
MD5 | 9cec20c665b6e8080362d3ad8969763b |
|
BLAKE2b-256 | ac7b2f3da0a21d03656a2b3cafb6041518714ff823593d356976fe56f66d80f7 |
Hashes for python_papi-6.0.0.1-pp39-pypy39_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 922ac9c94d3f71a2b52475648d0b0b5854e0b2b9bc6fc8752abedc7ce909e1d9 |
|
MD5 | e0f2392a4d8d6d1cd4cb83949a6279e5 |
|
BLAKE2b-256 | 98d44f2532cbd9bf8f5a9c2f268f374ae32f4b30932238322947f3e0bbc01282 |
Hashes for python_papi-6.0.0.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bf1a91f55df6338a810b939ebaa83afa3d55e2f8dc484f3f878508dbcd9dfc9 |
|
MD5 | 09f342548c102d24ae6ab7af099f5076 |
|
BLAKE2b-256 | 218cdb5cde558680dde8036f5e46b492c3197ebb504fdf24069bf3f3c5eaee49 |
Hashes for python_papi-6.0.0.1-pp38-pypy38_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 491aadeb7773db1a24f8b990bf105bd2ded9681aa0106d81c028907bdde0da67 |
|
MD5 | 452b6fa3a58b89b4964f072feebd5cc6 |
|
BLAKE2b-256 | 1690a1aa3d629f3197c52581dd128c33197ef977c5ebb4cf02109ab41e24105e |
Hashes for python_papi-6.0.0.1-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 646e9e827c5500e81abf175973860822bac40b99cdf64746bc6d65bad861d896 |
|
MD5 | c753fdead8a34281fe6c5b495a73154b |
|
BLAKE2b-256 | e18d89bafba449f9042b6ee4913124e72a97216eef7201a0893ac887d63b8540 |
Hashes for python_papi-6.0.0.1-pp37-pypy37_pp73-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a372b4400729c2eaffc28d29f8de3aa53e6cd04ca1b74ba03e5ec2ef4cbfd6a |
|
MD5 | a404d5c77650f7f14189789b509b678b |
|
BLAKE2b-256 | c1a95e965cc8dc55969fb4d0a7946565b38cd80fd87b886d7102d52c0be02edb |
Hashes for python_papi-6.0.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 189f99a673b65416a19efd301c31b3675434949dc023f10e69d0a40090718318 |
|
MD5 | da6733a4c3acf5c9ce4ac15acde302aa |
|
BLAKE2b-256 | 10cfce61d27159c7ffa7690f308c925ac278864c431d52973241aa1aeb5fa51d |
Hashes for python_papi-6.0.0.1-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 450fbbf3eff2b6d4285ad8be4941258e7b3302c03fbfc7f2131759fa128dbe79 |
|
MD5 | 5fe6346527c89bbb689d673e2916b275 |
|
BLAKE2b-256 | 5cb11b736bb3ae1573b2eeed49500b69093759cc7621f987d557db9024c7bb79 |
Hashes for python_papi-6.0.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68050eb0c702201c12338c8a4cfcd110d8e834615635bb33d05c175765b8778b |
|
MD5 | 3ff5d91a90a741e52888a091d0068cc7 |
|
BLAKE2b-256 | ea05e5f56601006bc01df8abae37ef8ff0a20d590fbab34e2957f61a04ed7500 |
Hashes for python_papi-6.0.0.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08269bb965dd57330d5797bcfc6d1ea694fd0bbf2d0421f22c2f1b97989b64b7 |
|
MD5 | b8342573b120845511b2f7567d3ce106 |
|
BLAKE2b-256 | 270e2a6d9ca5f077bfa1b1ff1a599a831c5720e3647f2f877535b10d23786155 |
Hashes for python_papi-6.0.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86f00b43d39d6e1b6c76e876498658e934b37d1affe965c67aaa989cd10614db |
|
MD5 | bd3abb1143b9b58d8f69868193d6952c |
|
BLAKE2b-256 | 802e24cd5c693cc50f242f84c87d2c99d24170dfce7cd5ce163a73cdf99610b6 |
Hashes for python_papi-6.0.0.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9760c0de969c9af150462d6a8c1519cf09e08220c5d88d8d0d038a1d7762abac |
|
MD5 | e8f7cb7bbdb15cf17a6c5adb230199e1 |
|
BLAKE2b-256 | 4afaeca3b1f61834de2629eaf3f113ed4d339fa1327ac3b2b809e2996e2a7763 |
Hashes for python_papi-6.0.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0677472e57fb5e9b8be6eb756b82a425da371059e8cbd0ce837d7e8a21bed25 |
|
MD5 | 71ba6c1058740c5097b4e032f151d02c |
|
BLAKE2b-256 | 4a5336988c89f72de4d815919cf7c850326a8e88d49aaed26f65fd1f973c54e6 |
Hashes for python_papi-6.0.0.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d62a73f1279b4a1e52cb46a6b178b740252ff0e8d76a0c4a4c74a9c29a0e9285 |
|
MD5 | d1fc962ee2777442cf00fa5c4c741661 |
|
BLAKE2b-256 | da3685d2d7c419cc3af2cca926c0c86fda189fd4d274740aa2c4a5f9e3d62d78 |
Hashes for python_papi-6.0.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8a6ce715de82d5ba8e80f414330bc9b880b75c289ffd6862f9b1477077d841f |
|
MD5 | 0db3184a97ad69fcb7a4680031ebeb6c |
|
BLAKE2b-256 | f1c783b09bed3165495c0a2b5d27a987d7c40846c6704fe00338e97999caf2de |
Hashes for python_papi-6.0.0.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f68613c98a994f92cdb19e0a86deb1593c5a96b46a3421b81339825bcba99dfb |
|
MD5 | f605f81b0a607ca83f6c84f245bfe277 |
|
BLAKE2b-256 | be934b9fd542893ceeb2f97b81f4f81d198879faca3ce6f257dfba767a515a05 |
Hashes for python_papi-6.0.0.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbf5580cba0d0aad2b3099e0e9ba5183b23861a61e83db507fb5e84dbe482743 |
|
MD5 | 4edaa73b3c7d1d3f3efea010f680c47f |
|
BLAKE2b-256 | 7a83b9e5c95d1c398f33da4f42455f11837e8f633d88860ff2da82ac0ce2c4cc |
Hashes for python_papi-6.0.0.1-cp37-cp37m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3972b79766b1b3358c65e8bb57c0ad94ad40aaf7609757d9e671884eb10f2b7e |
|
MD5 | 83d3860a9448b198dcc2a8aae4f9eba2 |
|
BLAKE2b-256 | 6f104e3c63f43d68747a45ddc1317ec2ab95842ccdd4ecbefba21d66701499b4 |
Hashes for python_papi-6.0.0.1-cp36-cp36m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4fbd66d25ee7f2d545bba57efcf23207a0c1f637cc72015fd1e9a6275a35bcd |
|
MD5 | 0994b1141bfa424b4c0b8f51353d5871 |
|
BLAKE2b-256 | 0eb562460a1a5b4500f19bc5a723db44cdd8234233e308358eb288304485ea24 |
Hashes for python_papi-6.0.0.1-cp36-cp36m-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a215e8918cdeec6dc4e32ee030a6272750c69cbb7aa9777de358db385996b97a |
|
MD5 | 0b7f70695c1dccb53039a4f2f9c5f0b0 |
|
BLAKE2b-256 | b93643aafd1b2553c669a3138cfac883429edbd94e0bd9ee6024ba05daffe66a |