Skip to main content

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

pylibbpf-0.0.2.tar.gz (762.0 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pylibbpf-0.0.2-cp311-cp311-manylinux_2_28_x86_64.whl (712.0 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pylibbpf-0.0.2-cp38-cp38-manylinux_2_28_x86_64.whl (710.1 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

File details

Details for the file pylibbpf-0.0.2.tar.gz.

File metadata

  • Download URL: pylibbpf-0.0.2.tar.gz
  • Upload date:
  • Size: 762.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pylibbpf-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f0f281cb7af752af9840ecc322f66ed086358c3172dfbef40944bc816f02bfc3
MD5 58a9848085a45777db2728e76434aa06
BLAKE2b-256 4f661ef1e026eb892dc6f2b41ddd9a5283339f93dfe5e5d9b1415cb21365556c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibbpf-0.0.2.tar.gz:

Publisher: wheels.yml on varun-r-mallya/pylibbpf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibbpf-0.0.2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pylibbpf-0.0.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a0848c358d0c8bcaf249489f800335f60093679bc33462aad405b07844c5b87a
MD5 fc6a7ab49fa05dce77e33882d232201c
BLAKE2b-256 772223239d0ef7031f544d23c89954866bad5ede5b561f34523ffec3edf0dce3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibbpf-0.0.2-cp311-cp311-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on varun-r-mallya/pylibbpf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pylibbpf-0.0.2-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pylibbpf-0.0.2-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2e617c9368f0fc08d891c0a3f03a741d2b689ef3bac290acd3722d456d51979d
MD5 1ad5abd816f1c012e8659c7fc6bd2b4c
BLAKE2b-256 99d7d487b74c3479fe1319346f5ecd5a6030c06c06c5eba4516ad077129f7c9c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibbpf-0.0.2-cp38-cp38-manylinux_2_28_x86_64.whl:

Publisher: wheels.yml on varun-r-mallya/pylibbpf

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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