Skip to content

Commit b474dfc

Browse files
Update README.md
1 parent a12c8e6 commit b474dfc

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Python-BPF
2-
This is an LLVM IR generator for eBPF programs in Python. We use `llvmlite` to generate LLVM IR code from pure Python code. This is then compiled to LLVM object files, which can be loaded into the kernel for execution.
2+
<p align="center">
3+
<a href="https://www.python.org/downloads/release/python-3080/"><img src="https://img.shields.io/badge/python-3.8-blue.svg"></a>
4+
<a href="https://pypi.org/project/pythonbpf"><img src="https://badge.fury.io/py/pythonbpf.svg"></a>
5+
</p>
6+
7+
This is an LLVM IR generator for eBPF programs in Python. We use llvmlite to generate LLVM IR from pure Python. This is then compiled to LLVM object files, which can be loaded into the kernel for execution. We do not rely on BCC to do our compilation.
8+
9+
# Installation
10+
- Have `clang` installed.
11+
- `pip install pythonbpf`
312

413
## Development
514
Step 0. Make a virtual environment and activate it using `python3 -m venv .venv && source .venv/bin/activate`.

0 commit comments

Comments
 (0)