Skip to main content

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:

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python-diameter-0.5.4.tar.gz (171.1 kB view hashes)

Uploaded Source

Built Distribution

python_diameter-0.5.4-py3-none-any.whl (165.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