python-diameter


Namepython-diameter JSON
Version 0.7.3 PyPI version JSON
download
home_pageNone
SummaryA diameter stack implemented in python
upload_time2024-08-07 13:35:13
maintainerNone
docs_urlNone
authorMikko Mensonen
requires_python>=3.11
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Diameter Stack

This Python package provides tools to create and parse Diameter Messages and 
AVPs, to communicate with diameter peers using the diameter base protocol and 
to write diameter applications, as defined in the Diameter Base `rfc6733`.

The diameter stack supports transports over both *TCP* and *SCTP*.

The provided 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. 

## Installation

The latest version can be installed from PyPI as 
[python-diameter](https://pypi.org/project/python-diameter/):

```shell
~# pip install python-diameter
```

SCTP support provided by an optional depency on [pysctp](https://pypi.org/project/pysctp/).

## Functional overview

The package contains an extensive AVP dictionary and allows constructing
AVPs and Diameter messages either manually, or by parsing network-received 
bytes. Message AVPs can be accessed directly as instance attributes.

The `diameter` package provides tools for:

- [Parsing and writing AVPs](https://mensonen.github.io/diameter/guide/avp)
- [Parsing and writing diameter Mesages](https://mensonen.github.io/diameter/guide/message)
- [Creating diameter nodes and connecting to other peers](https://mensonen.github.io/diameter/guide/node)
- [Writing diameter applications](https://mensonen.github.io/diameter/guide/application)

## Supported applications

The diameter stack has inbuilt support for Diameter Base, *Gy*, *Rf*, *Ro* and
*Sy* applications and a generic implementation of application types that allows
working even with unsupported application types.

## Supported diameter application commands

The diameter stack provides a Python command class for the following 
application message types:

*Diameter Base Protocol* `rfc3588`, `rfc6733`

 * Abort-Session
 * Accounting
 * Capabilities-Exchange
 * Device-Watchdog
 * Disconnect-PeerConnection
 * Re-Auth
 * Session-Termination

*Diameter Mobile IPv4* `rfc4004`

 * AA-Mobile-Node
 * Home-Agent-MIP

*Diameter Network Access Server* `rfc4005`, `rfc7155`

 * AA
 * Abort-Session
 * Accounting
 * Re-Auth
 * Session-Termination

*Diameter Credit Control* `rf4006`, `rfc6733`, `3GPP TS 32.299`

 * Credit-Control, with full 3GPP specification support

*Diameter Extensible Authentication Protocol (EAP)* `rfc4072`
 
 * Diameter-EAP

*Diameter Policy and charging control* `3GPP TS 29.219`

 * Spending-Limit
 * Spending-Status-Notification

The stack includes also a generic fallback Python class for every other message.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "python-diameter",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.11",
    "maintainer_email": null,
    "keywords": null,
    "author": "Mikko Mensonen",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/f1/69/478f4f62eaa47883c518c224041d5ece50e68d7d7e74b358732f698930a2/python_diameter-0.7.3.tar.gz",
    "platform": null,
    "description": "# Python Diameter Stack\n\nThis Python package provides tools to create and parse Diameter Messages and \nAVPs, to communicate with diameter peers using the diameter base protocol and \nto write diameter applications, as defined in the Diameter Base `rfc6733`.\n\nThe diameter stack supports transports over both *TCP* and *SCTP*.\n\nThe provided Application and Node implementations handle the majority of the \nbasic protocol-level operations automatically, such as managing peer tables, \nsending CER/CEA, DWR/DEA and disconnecting with DPR/DPA. \n\n## Installation\n\nThe latest version can be installed from PyPI as \n[python-diameter](https://pypi.org/project/python-diameter/):\n\n```shell\n~# pip install python-diameter\n```\n\nSCTP support provided by an optional depency on [pysctp](https://pypi.org/project/pysctp/).\n\n## Functional overview\n\nThe package contains an extensive AVP dictionary and allows constructing\nAVPs and Diameter messages either manually, or by parsing network-received \nbytes. Message AVPs can be accessed directly as instance attributes.\n\nThe `diameter` package provides tools for:\n\n- [Parsing and writing AVPs](https://mensonen.github.io/diameter/guide/avp)\n- [Parsing and writing diameter Mesages](https://mensonen.github.io/diameter/guide/message)\n- [Creating diameter nodes and connecting to other peers](https://mensonen.github.io/diameter/guide/node)\n- [Writing diameter applications](https://mensonen.github.io/diameter/guide/application)\n\n## Supported applications\n\nThe diameter stack has inbuilt support for Diameter Base, *Gy*, *Rf*, *Ro* and\n*Sy* applications and a generic implementation of application types that allows\nworking even with unsupported application types.\n\n## Supported diameter application commands\n\nThe diameter stack provides a Python command class for the following \napplication message types:\n\n*Diameter Base Protocol* `rfc3588`, `rfc6733`\n\n * Abort-Session\n * Accounting\n * Capabilities-Exchange\n * Device-Watchdog\n * Disconnect-PeerConnection\n * Re-Auth\n * Session-Termination\n\n*Diameter Mobile IPv4* `rfc4004`\n\n * AA-Mobile-Node\n * Home-Agent-MIP\n\n*Diameter Network Access Server* `rfc4005`, `rfc7155`\n\n * AA\n * Abort-Session\n * Accounting\n * Re-Auth\n * Session-Termination\n\n*Diameter Credit Control* `rf4006`, `rfc6733`, `3GPP TS 32.299`\n\n * Credit-Control, with full 3GPP specification support\n\n*Diameter Extensible Authentication Protocol (EAP)* `rfc4072`\n \n * Diameter-EAP\n\n*Diameter Policy and charging control* `3GPP TS 29.219`\n\n * Spending-Limit\n * Spending-Status-Notification\n\nThe stack includes also a generic fallback Python class for every other message.\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A diameter stack implemented in python",
    "version": "0.7.3",
    "project_urls": {
        "Documentation": "https://mensonen.github.io/diameter/",
        "Repository": "https://github.com/mensonen/diameter"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fce56dd958bd9b593dbb6bb791d26c585b2874abe74446795270c9572b414e26",
                "md5": "a515e8d0769d3d7edeb0f08d1fe71f42",
                "sha256": "15f4e4323b0fd512121c5fc74ea01f81f3e091a46f9a1b987924e86682916ee9"
            },
            "downloads": -1,
            "filename": "python_diameter-0.7.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a515e8d0769d3d7edeb0f08d1fe71f42",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.11",
            "size": 220387,
            "upload_time": "2024-08-07T13:35:11",
            "upload_time_iso_8601": "2024-08-07T13:35:11.671287Z",
            "url": "https://files.pythonhosted.org/packages/fc/e5/6dd958bd9b593dbb6bb791d26c585b2874abe74446795270c9572b414e26/python_diameter-0.7.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "f169478f4f62eaa47883c518c224041d5ece50e68d7d7e74b358732f698930a2",
                "md5": "6b251164d7d7664af35aaad91e4cbd8d",
                "sha256": "af6516d7e0842db9ab96c1120055d92bfd819c640d1a4b01e5e1b6607745850f"
            },
            "downloads": -1,
            "filename": "python_diameter-0.7.3.tar.gz",
            "has_sig": false,
            "md5_digest": "6b251164d7d7664af35aaad91e4cbd8d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.11",
            "size": 237859,
            "upload_time": "2024-08-07T13:35:13",
            "upload_time_iso_8601": "2024-08-07T13:35:13.093729Z",
            "url": "https://files.pythonhosted.org/packages/f1/69/478f4f62eaa47883c518c224041d5ece50e68d7d7e74b358732f698930a2/python_diameter-0.7.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-07 13:35:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mensonen",
    "github_project": "diameter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "python-diameter"
}
        
Elapsed time: 0.58122s