spraybus Python client
The Python client exposes an asyncio API over the native C++ client. The native client is created and used on a single background thread. Async methods enqueue commands to that thread, and received fanout messages are delivered back to the event loop.
Install the package from PyPI:
pip install spraybus
import asyncio
import spraybus
async def main():
async with spraybus.AsyncClient("localhost", 6767) as client:
await client.publish("test_topic", "hello from python")
await client.subscribe("test_topic")
async for message in client.messages():
print(message.topic, message.text())
asyncio.run(main())
Build
From the repository root:
conan build . --build=missing -s compiler.cppstd=23 -of build/python
PYTHONPATH=python/src:build/python/build/Release/python python -c "import spraybus"
The package also includes a pyproject.toml for wheel builds with
scikit-build-core. Wheel builds still need ENet and pybind11 to be discoverable
by CMake.
The release workflow publishes spraybus wheels for CPython 3.10 through 3.14
on Linux x86_64, macOS arm64, and macOS x86_64.
Metadata
Release files for spraybus 0.0.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: 1.7 MB
Release files / spraybus-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | spraybus-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 129.3 kB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
64343b79dfb664aa46d8b6512a7c0101bde69e91aa74d29b358b12e3017c4308
|
|
BLAKE2b-256 checksum How to use checksums |
b21c7e428893a7ce91cee92f818e3d75e2179ff03a4425e19206f715dca05963
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | spraybus-0.0.2-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 105.7 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
59e8c84d5202ec779bfdb59dd4e5f191b0de6c23aea6eb457f7cc322b052518a
|
|
BLAKE2b-256 checksum How to use checksums |
ac8898ad7ea52409bb298b6d43763ba5f072a921b35e1aa8647cd5cca1026c49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp314-cp314-macosx_10_15_x86_64.whl
| Download URL | spraybus-0.0.2-cp314-cp314-macosx_10_15_x86_64.whl |
|---|---|
| Size | 112.9 kB |
| Tags | CPython 3.14 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
c2e4f2602a8091ea55fff6006f85007ba7455d7286796770e6e1b58ea7a9f9f4
|
|
BLAKE2b-256 checksum How to use checksums |
7271047ae267a2f5575eb88000228952b73bbaedb2334d94ec500a81b8133f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | spraybus-0.0.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 129.3 kB |
| Tags | CPython 3.13 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
4e7bbc665dd948286fba1cd90a9f61a616ce50c1c9749fb9785407397f05e6ca
|
|
BLAKE2b-256 checksum How to use checksums |
425cd93ca0287c46320195ed4a5a6ff035404f50957859575a7ad05bd7280ab8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | spraybus-0.0.2-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 105.4 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
735e8b8402028ebc6f598416d5df43bb1faa1afe9dc522d693d31817fa5eba38
|
|
BLAKE2b-256 checksum How to use checksums |
bd2abb1e9db7200b60f972f10b617e037eb4300cdb749f6b846dbf40f2f159df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp313-cp313-macosx_10_15_x86_64.whl
| Download URL | spraybus-0.0.2-cp313-cp313-macosx_10_15_x86_64.whl |
|---|---|
| Size | 112.6 kB |
| Tags | CPython 3.13 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
83fcf93bc360fce2814d2a67848330f7da1532ca6246ccfb8145fa546a58d560
|
|
BLAKE2b-256 checksum How to use checksums |
624f76d7a40a37dee09e598a7fd082fa96fe8cf2f4cee6e3f798563adc733e06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | spraybus-0.0.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 129.0 kB |
| Tags | CPython 3.12 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
bb5fe55efbcafbb1d7aaf1e9d54728729446f08a86c2316892e56e17528e6ca6
|
|
BLAKE2b-256 checksum How to use checksums |
e47348c5cef6807072989c278927586121d3f56ca223d063e764bba9b9f4aaa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | spraybus-0.0.2-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 105.3 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d4c704616eb4f93eef122ad60059d113033e4d966aea0a6dd813344d37cd53e5
|
|
BLAKE2b-256 checksum How to use checksums |
f54803bbd1e24aa389180cb970581bc5aaca02d28bf53b922df0d5221fcc3345
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp312-cp312-macosx_10_15_x86_64.whl
| Download URL | spraybus-0.0.2-cp312-cp312-macosx_10_15_x86_64.whl |
|---|---|
| Size | 112.5 kB |
| Tags | CPython 3.12 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
98b7711fe43ff237b594112756e164dd3d77900835412447a04923a09d459976
|
|
BLAKE2b-256 checksum How to use checksums |
d2c14346717fba0a3d59102c4940f30386bc2582ee67b689dac835dc6f712f66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | spraybus-0.0.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 127.7 kB |
| Tags | CPython 3.11 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
22693ad0f2a17e3b3e35c0264df5285915ef054afae0c009817c8ce56460de0b
|
|
BLAKE2b-256 checksum How to use checksums |
6887193f513e7ffe8736a779330e9f71a81937b78b28d0e205e97ecfd00e9064
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | spraybus-0.0.2-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 105.5 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
4d10a8a2b1235fe5a8cf9892789201f6b031c58af58697dd7a685ac31ea3c166
|
|
BLAKE2b-256 checksum How to use checksums |
3b4a961edebfbac548c844d6fb6fc384fe758ee86fc946e4b99dc2067e454474
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp311-cp311-macosx_10_15_x86_64.whl
| Download URL | spraybus-0.0.2-cp311-cp311-macosx_10_15_x86_64.whl |
|---|---|
| Size | 112.0 kB |
| Tags | CPython 3.11 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
df467888a8d13754a0786160987d383d4c6a60fe78c21f5d878bda73d6fa2783
|
|
BLAKE2b-256 checksum How to use checksums |
7d5e1011d9c9730e6fce8a0f97ca9a97df4613ba6ad4dd864f186b1e7713a161
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | spraybus-0.0.2-cp310-cp310-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 126.8 kB |
| Tags | CPython 3.10 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
298f068ea344251619270a5584c8ce08da931f557fb61b7b073d5802116bb41c
|
|
BLAKE2b-256 checksum How to use checksums |
770542fec82fd7a6b5b464fc8cb96b86fdd4db973c8e9a8480de8c4954bb528f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | spraybus-0.0.2-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 104.3 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
56dd2340d0b724b326318a8fd50bc78012c7f9631f58610ddee3fc626301a8ff
|
|
BLAKE2b-256 checksum How to use checksums |
6d7b1062787fb1785676f75ef821250d95a734a623d1d2ed876db4c9a6875487
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logRelease files / spraybus-0.0.2-cp310-cp310-macosx_10_15_x86_64.whl
| Download URL | spraybus-0.0.2-cp310-cp310-macosx_10_15_x86_64.whl |
|---|---|
| Size | 110.7 kB |
| Tags | CPython 3.10 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
1312dd71cd2071547dc581819fb9833ce5519f79b032346c08beab9cf37cb959
|
|
BLAKE2b-256 checksum How to use checksums |
ecc54cd8b0f77eba1f956cc62fa992faf76f700e9adf76861e5b65e03d205513
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logSecurity for spraybus 0.0.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.
Full provenance
All 15 files in this release have been uploaded with provenance metadata.
Attestation for spraybus-0.0.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on May 28, 2026.
Transparency logA 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.