Skip to main content

Python wrapper of libbpf to interact with bpf maps

Project description

Pybpfmaps

Python 3.10 pytests codecov PyPI version

Simple standalone python library to interact with bpf/ebpf maps via libbpf bindings.

Installation

pip install bpfmaps

Usage

import bpfmaps

my_map = bpfmaps.BPF_Map.get_map_by_name('some_global')
my_map[0] = 10

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

bpfmaps-0.0.4.tar.gz (705.1 kB view hashes)

Uploaded Source

Built Distribution

bpfmaps-0.0.4-py3-none-any.whl (708.1 kB view hashes)

Uploaded Python 3

Supported by

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