A diameter stack implemented in python
Project description
Python Diameter Stack
This Python package provides tools to create and parse Diameter Messags and
AVPs, to communicate with diameter peers using the diameter base protocol and
to write diameter applications, as defined in rfc6733
, rfc8506
and
rfc5777
.
The module contains an extensive AVP dictionary, based on the current Wireshark Diameter dictionary.xml (and kept up to date frequently) and allows constructing AVPs and Diameter messages either manually, or by parsing network-received bytes. For messages described in the Diameter Base and Diameter Credit Control RFCs, additional Message types are provided, which permit reading and updating message AVPs as python instance properties.
The diameter
package provides tools for:
- Parsing and writing AVPs
- Parsing and writing diameter Mesages
- Creating diameter nodes and connecting to other peers
- Writing diameter applications
In terms of diameter connectivity, the diameter stack supports both TCP and SCTP, with SCTP support provided by an optional depency on pysctp.
The diameter Application and Node implementations handle the majority of the basic protocol-level operations automatically, such as managing peer tables, sending CER/CEA, DWR/DEA and disconnecting with DPR/DPA.
The latest version can be installed from PyPI:
~# pip install python-diameter
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for python_diameter-0.5.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c0c7596f3e89cafd1a690293c33c102b07b29f0b2d444647043508c58581743 |
|
MD5 | 6c63a270c5a0caa85b629e23f89ef0ab |
|
BLAKE2b-256 | c38ece3b3c8c825177cd8b9e0d764221dc82d44311c45d0345771005b1024ad5 |