Python SDK for Diffusion - Core functionality
Pre-release version; not ready for production.
This is the core module for the Python SDK for Diffusion. It provides core functionality for the Python client, in particular the native bindings for various performance-critical functions.
Supported Python Versions
The Diffusion Python SDK officially supports the following:
Supported Interpreters:
- CPython 3.10.0 or later
- CPython 3.11.0 or later
- CPython 3.12.0 or later
- CPython 3.13.0 or later
- CPython 3.14.0 or later
Supported Platforms:
- MacOS 10.13-11.5
- Windows Intel 64-bit
- Any Linux supported by the ManyLinux 2010/2014 binary wheel standard.
Current Capabilities
- CBOR (the binary protocol used to communicate with the Diffusion Server):
- indefinite encoding (the preferred variant)
- definite encoding
- Delta encoding/decoding (used to send and receive changes in a compact, CBOR-based format)
Test call
python
import diffusion_core.cbor as diffusion_cbor
obj = {"arbitary":["json", "data", 0.0, -35]}
diffusion_cbor.dumps(obj, indefinite=True)
import diffusion_core.delta as diffusion_delta
orig = b'\0x00'
dest = b'\0xff'
# diff returns an object which is convertible to bytes
diff = bytes(diffusion_delta.diff(orig, dest))
# patch also returns an object which is convertible to bytes
reconstructed_dest = bytes(diffusion_delta.patch(orig, diff))
assert(dest == reconstructed_dest)
Metadata
Release files for diffusion-core 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 2.0 MB
Release files / diffusion_core-0.2.2-1-cp314-cp314-win_amd64.whl
| Download URL | diffusion_core-0.2.2-1-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 92.6 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
98c9f31d34771d7d764e7e43096cd717bdc171daee3d0f2563edc8aba50a6ccd
|
|
BLAKE2b-256 checksum How to use checksums |
f1645d4d142c7e29bb5750f43aab158aed84e7069884a66cea8839665be7b9b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 122.6 kB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
ff6434f8dbb79fc014497bfc5de0c73a2519c5c78c5b677991e0aab3682a89ff
|
|
BLAKE2b-256 checksum How to use checksums |
7d67b0342e2fa51aafc2c92effe13278fca05fa129d30970e531fe8bf73858c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | diffusion_core-0.2.2-1-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 86.6 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7d489e5adbde8903cc90a003ef4c5d4f6836a0fee8d9554db3d91c8c6aae876f
|
|
BLAKE2b-256 checksum How to use checksums |
374e65fdad39a5fc6d947af9940a3e36a2f5aadb625604d0933d34b8662d8fd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp314-cp314-macosx_10_15_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp314-cp314-macosx_10_15_x86_64.whl |
|---|---|
| Size | 92.0 kB |
| Tags | CPython 3.14 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
ea566f549fba241b0f02419d26f55fa4291614e081430c8e1196a7df33966a88
|
|
BLAKE2b-256 checksum How to use checksums |
b877aba462e899d74ec5466dedaf2d3854133d498358fb571591ba48b0821b18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp313-cp313-win_amd64.whl
| Download URL | diffusion_core-0.2.2-1-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 92.8 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ac0bb6a4806974f50f30594966664fc245c48b483fde644c58f3a85917f606de
|
|
BLAKE2b-256 checksum How to use checksums |
606549103640a61e7a797c5a0e7f796d36324f54e0f14990ac6b7f350e837001
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 122.4 kB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5ceb656666f21bfad957bf1076d0a58f859db703c5531b6db6a974d907b6a8c1
|
|
BLAKE2b-256 checksum How to use checksums |
abd0a719a4c4f77de666c9dd34aa39bcbf2523827465a76e0397cee31b609db6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | diffusion_core-0.2.2-1-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 86.2 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
718f0c368c2843ee241c9a005650873ccdac9822196643fcf433c8902bd0f5ee
|
|
BLAKE2b-256 checksum How to use checksums |
620e812b0d4c0543129dfa05e11634b8050d1599013747b114a4bb7960926e5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp313-cp313-macosx_10_15_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp313-cp313-macosx_10_15_x86_64.whl |
|---|---|
| Size | 91.8 kB |
| Tags | CPython 3.13 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
d02b31e57f421710f95bef804c276f33889f5af2ca4cb72f56b05e69c5548e41
|
|
BLAKE2b-256 checksum How to use checksums |
7219e55e40dc2fc3bea511d058c137fb8843631e40a861c9079560ef26258918
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp312-cp312-win_amd64.whl
| Download URL | diffusion_core-0.2.2-1-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 92.7 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f74b223e90c9edcdd77754f42570d718de1b3c54a2fa218fe2ca19da990393c7
|
|
BLAKE2b-256 checksum How to use checksums |
482b345de885ec46d8787403e0a2e937a97df414887aafca06fb86ec54a46f66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 122.5 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
6a239e34d3bfbbb8f8e841166b8b2f8fc70b00bb585ee2784c9441b77d2d1dc7
|
|
BLAKE2b-256 checksum How to use checksums |
a5f893a76c0d0f53efbec17f139807a2c135981ffda1a71c2213015a424b341f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | diffusion_core-0.2.2-1-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 86.2 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
b39f8c5a36b9106a7b01a43d508521041ec3418cdd765fd2197179633c76d5b8
|
|
BLAKE2b-256 checksum How to use checksums |
72083c9f6aac23e8b6a5e3235bb7b8d9bf93661aa845a8154e4e5f6a69e27921
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp312-cp312-macosx_10_15_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp312-cp312-macosx_10_15_x86_64.whl |
|---|---|
| Size | 91.8 kB |
| Tags | CPython 3.12 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
20a174d9d1ce0a3030807227b211ef3238bb42ab9bd964b2e0007c627c5e5beb
|
|
BLAKE2b-256 checksum How to use checksums |
1cc1a8d8a0a973fe2408d88f78731a52523abb0a1346ae051c210a059e04d9f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp311-cp311-win_amd64.whl
| Download URL | diffusion_core-0.2.2-1-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 91.4 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
70fd3c0292d539c1afb57bbff9953adf856c671f743ef73322dddbb2b041d99e
|
|
BLAKE2b-256 checksum How to use checksums |
ac8da17426509bbd65adfedc17fd875b485f7caa3c71b7a1c04f858ea3da1cbb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 121.6 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
4cb65ea3af522fd0e218c02710d18ef5dcddd9404ffacbe36999fb0333e0f33d
|
|
BLAKE2b-256 checksum How to use checksums |
4f9769ed8bf2e71a6638a9e224ebb3daab84946a57a5b4ecf2bc83646e6abf57
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | diffusion_core-0.2.2-1-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 85.7 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
3839bf6c13f2ea0e98a2ab676cc360c9ec4970019bafb69d14bd2effb384b33e
|
|
BLAKE2b-256 checksum How to use checksums |
b494dab9b56bb01fcd5dfe1469c51f26eb5c5c85c0f2cf3db0ad8183d4226eda
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp311-cp311-macosx_10_15_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp311-cp311-macosx_10_15_x86_64.whl |
|---|---|
| Size | 90.7 kB |
| Tags | CPython 3.11 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
9de7cf51ce9e97c19abeaabdb04291e5abd21b050c87db56cdbaea145f0ff456
|
|
BLAKE2b-256 checksum How to use checksums |
b5758533fef4f643df7121e58d8308c95cabce01ad9147446417771129aa009b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp310-cp310-win_amd64.whl
| Download URL | diffusion_core-0.2.2-1-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 91.2 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
6f61c4334148fda03630dc8e20f1c0532a3cf67089ab94ad86818037c713dc62
|
|
BLAKE2b-256 checksum How to use checksums |
3795f347bf3285e41ad25069db286da33e8b0c2fa53921f2f7efb3e6ddfa4cc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 121.6 kB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
62648178378b40ccbd7203d319fa72df8d219a8ec89d42ba8f00b1ef33d4dcd1
|
|
BLAKE2b-256 checksum How to use checksums |
6747bb729390d92829d8e276cf82b7711438cc554f51bbc2870c0f023f5f5f2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | diffusion_core-0.2.2-1-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 85.7 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c14e1306435e27ba0b1f590faeade47032173680cb1634eebbcc05e7e993c717
|
|
BLAKE2b-256 checksum How to use checksums |
a975554e0d7c58806c5a9dcf3d03da796f3de2a637acd35bd205e7680995dc22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / diffusion_core-0.2.2-1-cp310-cp310-macosx_10_15_x86_64.whl
| Download URL | diffusion_core-0.2.2-1-cp310-cp310-macosx_10_15_x86_64.whl |
|---|---|
| Size | 90.7 kB |
| Tags | CPython 3.10 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
d0cc83b20af18fd65284060f8ba0d0ec8feb645ddc5daa8d79b0fa89b1697f37
|
|
BLAKE2b-256 checksum How to use checksums |
4a107f8aa2401431904ab364d771b0e1401385364b011d735b7d32667f07d9ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Security for diffusion-core 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.