Python
The Python API can be installed using pip and is also included in the server installation.
Install with pip:
pip install diffusionTo install a specific version:
pip install diffusion==6.11.2
You can also download the SDK as a zipped WHL package:
https://download.diffusiondata.com/clients/6.11.2/python/diffusion-python-6.11.2.zip
If installing from this downloaded wheel, you will need to download a platform-specific 'diffusion-core' binary wheel as well.
It will be one of the following:
OSX:
https://download.diffusiondata.com/clients/6.11.2/python/diffusion-python-core-osx-${sdk.dependencies.python.core.version}.zipWindows:
https://download.diffusiondata.com/clients/6.11.2/python/diffusion-python-core-windows-${sdk.dependencies.python.core.version}.zipLinux:
https://download.diffusiondata.com/clients/6.11.2/python/diffusion-python-core-linux-${sdk.dependencies.python.core.version}.zip
Extract both the client and core zip files.
You can then install with the command:
pip install {location of the client wheel} --find-links {directory containing unzipped 'diffusion-core' wheel}
Supported interpreters:
- CPython 3.7.8 (or later patch release)
- CPython 3.8.6 (or later patch release)
- CPython 3.9.0 (or later patch release)
Supported platforms:
- MacOS 10.13-11.5
- Windows Intel 64-bit
- Any Linux supported by the ManyLinux 2010/2014 binary wheel standard.
Future releases will be tested against additional interpreters.
We recommend using the newest available patch release.