# 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.11.6 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.11.6"
```
Alternatively, the package is also available in the `clients` directory of the Diffusion installation:
```shell
$ pip install clients/python/diffusion-6.11.6-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.11.6 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.11.6\"\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.11.6-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.11.6",
"project_urls": {
"homepage": "https://www.diffusiondata.com/"
},
"split_keywords": [
"diffusion",
" cloud",
" websockets",
" data"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "ccea89a06992e51be2d6dec3c0aaae754407edfa9d7b60b41c86023e5b58d67c",
"md5": "1170b1bc5fadbab1df37cf5712677088",
"sha256": "36fbe8fc37492c898018b81c6cff0201d1e0455c74c87d6c171989c2ebe8b6e0"
},
"downloads": -1,
"filename": "diffusion-6.11.6-1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1170b1bc5fadbab1df37cf5712677088",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.8",
"size": 259899,
"upload_time": "2025-05-15T11:22:49",
"upload_time_iso_8601": "2025-05-15T11:22:49.929137Z",
"url": "https://files.pythonhosted.org/packages/cc/ea/89a06992e51be2d6dec3c0aaae754407edfa9d7b60b41c86023e5b58d67c/diffusion-6.11.6-1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-05-15 11:22:49",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "diffusion"
}