# Python SDK for Diffusion
**Pre-release version; not ready for production.**
The Diffusion Python library allows Python applications to interact with a Diffusion server.
## Supported Python Versions
The Diffusion Python SDK 6.12.0 officially supports the following interpreters:
Supported Interpreters:
* CPython 3.8.6 or later
* CPython 3.9.0 or later
* CPython 3.10.0 or later
* CPython 3.11.0 or later
* CPython 3.12.0 or later
Supported Platforms:
* MacOS 10.13-11.5
* Windows Intel 64-bit
* Any Linux supported by the [ManyLinux 2010/2014](https://github.com/pypa/manylinux) binary wheel standard.
We recommend using the latest available patch version of the Python interpreter.
## Installing the Diffusion client
The easiest way to install the latest version is:
```shell
$ pip install diffusion
```
It is possible to install a specific version, for example if you need one that works with the previous version of the Diffusion server:
```shell
$ pip install "diffusion==6.12.0"
```
Alternatively, the package is also available in the `clients` directory of the Diffusion installation:
```shell
$ pip install clients/python/diffusion-6.12.0-py3-none-any.whl
```
## Current Capabilities
- Session:
- Establish a session
- Send user ping
- Receive system ping
- Session factory
- SSL Context
- Retry strategies
- Messaging:
- Register request handler
- Send request to path
- Send request to session
- Send request to filter
- Register filter message stream
- Control:
- Session trees
- Topic metrics
- Session metrics
- Topics:
- Topic subscriptions
- Topic creation
- Topic creation with initial topic value
- Topic removal
- Topic stream handlers
- Topic update
- Topic constraints
- Fetch queries
- Time Series
- Edit
- Append
- Range queries
Raw data
{
"_id": null,
"home_page": null,
"name": "diffusion",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.8",
"maintainer_email": null,
"keywords": "diffusion, cloud, websockets, data",
"author": null,
"author_email": "DiffusionData Limited <contact@diffusiondata.com>",
"download_url": null,
"platform": null,
"description": "# Python SDK for Diffusion\n\n**Pre-release version; not ready for production.**\n\nThe Diffusion Python library allows Python applications to interact with a Diffusion server.\n\n\n## Supported Python Versions\n\nThe Diffusion Python SDK 6.12.0 officially supports the following interpreters:\n\nSupported Interpreters:\n\n* CPython 3.8.6 or later\n* CPython 3.9.0 or later\n* CPython 3.10.0 or later\n* CPython 3.11.0 or later\n* CPython 3.12.0 or later\n\nSupported Platforms:\n\n* MacOS 10.13-11.5\n* Windows Intel 64-bit\n* Any Linux supported by the [ManyLinux 2010/2014](https://github.com/pypa/manylinux) binary wheel standard.\n\nWe recommend using the latest available patch version of the Python interpreter.\n\n## Installing the Diffusion client\n\nThe easiest way to install the latest version is:\n\n```shell\n$ pip install diffusion\n```\n\nIt is possible to install a specific version, for example if you need one that works with the previous version of the Diffusion server:\n\n```shell\n$ pip install \"diffusion==6.12.0\"\n```\n\nAlternatively, the package is also available in the `clients` directory of the Diffusion installation:\n\n```shell\n$ pip install clients/python/diffusion-6.12.0-py3-none-any.whl\n```\n\n## Current Capabilities\n\n- Session:\n - Establish a session\n - Send user ping\n - Receive system ping\n - Session factory\n - SSL Context\n - Retry strategies\n- Messaging:\n - Register request handler\n - Send request to path\n - Send request to session\n - Send request to filter\n - Register filter message stream\n- Control:\n - Session trees\n - Topic metrics\n - Session metrics\n- Topics:\n - Topic subscriptions\n - Topic creation\n - Topic creation with initial topic value\n - Topic removal\n - Topic stream handlers\n - Topic update\n - Topic constraints\n - Fetch queries\n- Time Series\n - Edit\n - Append\n - Range queries\n",
"bugtrack_url": null,
"license": "LicenseRef-Proprietary",
"summary": "Python SDK for Diffusion.",
"version": "6.12.0",
"project_urls": {
"homepage": "https://www.diffusiondata.com/"
},
"split_keywords": [
"diffusion",
" cloud",
" websockets",
" data"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "844cd9923f969357c5dffb95939c6cc9bf122ddcb95d1901ee97cb379fc83a7f",
"md5": "59b4d48f34a82a8d103e133af0d059da",
"sha256": "de03c267f2f4faf50e83a5868381fd7386d5a703b310462e45898988a32b9143"
},
"downloads": -1,
"filename": "diffusion-6.12.0-1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "59b4d48f34a82a8d103e133af0d059da",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.8",
"size": 268767,
"upload_time": "2025-09-04T17:41:04",
"upload_time_iso_8601": "2025-09-04T17:41:04.805554Z",
"url": "https://files.pythonhosted.org/packages/84/4c/d9923f969357c5dffb95939c6cc9bf122ddcb95d1901ee97cb379fc83a7f/diffusion-6.12.0-1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-04 17:41:04",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "diffusion"
}