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.3.tar.gz (777.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.3-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.3-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.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

Hashes for pylibbpf-0.0.3.tar.gz
Algorithm Hash digest
SHA256 8476450a91493cbf03fef75cf729b3f46329dab1ede21f94e35fd1171e211233
MD5 ee3df92173ea728a0030b71aadb41b87
BLAKE2b-256 5c9c3e3f2b58fc8598252ec4ab1aa49075aa0019f136035923f09cfb2874fe32

See more details on using hashes here.

Provenance

The following attestation bundles were made for pylibbpf-0.0.3.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.3-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pylibbpf-0.0.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9528fa5e6caaa0b283248f4e173c5130137d282ad66f6c7365b7d808214973a9
MD5 ce99f2bd27eca9f19b5a02a1a1f3bc05
BLAKE2b-256 e32f4eeb2022203abb87a111d1d10a51e1534a6fb36d4437becb409931c84770

See more details on using hashes here.

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

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.3-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pylibbpf-0.0.3-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7c88c63a7c2e83bf5a021bb34f2a8963985b904c616cf29b1170428ece2731b0
MD5 1648436bb2eab1dfbd18c175e9af4f01
BLAKE2b-256 de57fa7fbaaf5b41c9e1d92dcd2ef048f88d9d6c9c86715393b0a3295b26a1de

See more details on using hashes here.

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

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