Python Bindings for Libbpf
Project description
Py-libbpf
This library provides Python bindings for libbpf on Linux to make loading of eBPF object files easier. This is meant to
be used along with pythonbpf, the eBPF Python DSL compiler. This library makes it possible to attach these programs to
events in the kernel right from inside Python.
Warning
IN DEVELOPMENT. DO NOT USE.
Prerequisites
- A compiler with C++11 support
- Pip 10+ or CMake >= 4.1
- Ninja or Pip 10+
Installation
Just clone this repository and pip install. Note the --recursive option which is
needed for the pybind11 submodule:
git clone --recursive https://github.com/varun-r-mallya/pylibbpf.git
pip install .
With the setup.py file included in this example, the pip install command will
invoke CMake and build the pybind11 module as specified in CMakeLists.txt.
Building the documentation
The documentation here is still boilerplate.
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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pylibbpf-0.0.3.tar.gz.
File metadata
- Download URL: pylibbpf-0.0.3.tar.gz
- Upload date:
- Size: 777.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8476450a91493cbf03fef75cf729b3f46329dab1ede21f94e35fd1171e211233
|
|
| MD5 |
ee3df92173ea728a0030b71aadb41b87
|
|
| BLAKE2b-256 |
5c9c3e3f2b58fc8598252ec4ab1aa49075aa0019f136035923f09cfb2874fe32
|
Provenance
The following attestation bundles were made for pylibbpf-0.0.3.tar.gz:
Publisher:
wheels.yml on varun-r-mallya/pylibbpf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pylibbpf-0.0.3.tar.gz -
Subject digest:
8476450a91493cbf03fef75cf729b3f46329dab1ede21f94e35fd1171e211233 - Sigstore transparency entry: 543554610
- Sigstore integration time:
-
Permalink:
varun-r-mallya/pylibbpf@596943d24697c2ed612e06d2b05fae8fa80ab570 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/varun-r-mallya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@596943d24697c2ed612e06d2b05fae8fa80ab570 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pylibbpf-0.0.3-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pylibbpf-0.0.3-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 712.0 kB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9528fa5e6caaa0b283248f4e173c5130137d282ad66f6c7365b7d808214973a9
|
|
| MD5 |
ce99f2bd27eca9f19b5a02a1a1f3bc05
|
|
| BLAKE2b-256 |
e32f4eeb2022203abb87a111d1d10a51e1534a6fb36d4437becb409931c84770
|
Provenance
The following attestation bundles were made for pylibbpf-0.0.3-cp311-cp311-manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on varun-r-mallya/pylibbpf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pylibbpf-0.0.3-cp311-cp311-manylinux_2_28_x86_64.whl -
Subject digest:
9528fa5e6caaa0b283248f4e173c5130137d282ad66f6c7365b7d808214973a9 - Sigstore transparency entry: 543554675
- Sigstore integration time:
-
Permalink:
varun-r-mallya/pylibbpf@596943d24697c2ed612e06d2b05fae8fa80ab570 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/varun-r-mallya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@596943d24697c2ed612e06d2b05fae8fa80ab570 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pylibbpf-0.0.3-cp38-cp38-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: pylibbpf-0.0.3-cp38-cp38-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 710.1 kB
- Tags: CPython 3.8, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c88c63a7c2e83bf5a021bb34f2a8963985b904c616cf29b1170428ece2731b0
|
|
| MD5 |
1648436bb2eab1dfbd18c175e9af4f01
|
|
| BLAKE2b-256 |
de57fa7fbaaf5b41c9e1d92dcd2ef048f88d9d6c9c86715393b0a3295b26a1de
|
Provenance
The following attestation bundles were made for pylibbpf-0.0.3-cp38-cp38-manylinux_2_28_x86_64.whl:
Publisher:
wheels.yml on varun-r-mallya/pylibbpf
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pylibbpf-0.0.3-cp38-cp38-manylinux_2_28_x86_64.whl -
Subject digest:
7c88c63a7c2e83bf5a021bb34f2a8963985b904c616cf29b1170428ece2731b0 - Sigstore transparency entry: 543554648
- Sigstore integration time:
-
Permalink:
varun-r-mallya/pylibbpf@596943d24697c2ed612e06d2b05fae8fa80ab570 -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/varun-r-mallya
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
wheels.yml@596943d24697c2ed612e06d2b05fae8fa80ab570 -
Trigger Event:
release
-
Statement type: