P4Py

A Python eDSL for P4 network programming.

Overview

P4Py lets you compose, simulate, and compile P4 programs using Python.

Quick start

import p4py