pysctp
signaling
SCTP transport bindings for Python.
Python bindings to the kernel SCTP stack, used as the transport layer for SIGTRAN, Diameter, and 5G signalling tooling.
pysctp exposes the Linux kernel SCTP stack to Python, providing socket-level bindings used to build SIGTRAN-based signalling tools (M3UA, M2PA, Diameter, S1AP, NGAP) on top of SCTP transport.
What it does
- Wraps Linux kernel SCTP sockets for use from Python.
- Supports one-to-one and one-to-many socket styles, multi-homing, and SCTP-specific events.
- Acts as the transport layer for higher-level signalling stacks (M3UA, Diameter, S1AP, NGAP) written in Python.
Best for
- Developers building SS7 SIGTRAN, Diameter, or 5G signalling tools in Python.
- Researchers reproducing SCTP-level edge cases in a controlled environment.
Protocols: SCTP, M3UA, Diameter, S1AP, NGAP
Inputs: SCTP sockets, Python application data
Outputs: SCTP associations, Application-level signalling traffic