Console command for running the native spraybus CLI
Project description
spraybus-cli Python package
This package installs the native spraybus CLI as Python console commands:
pip install spraybus-cli
spraybus-cli pub test_topic "hello"
spraybus-cli sub test_topic
The command runs the bundled C++ CLI binary. It connects to localhost:6767 by
default. Use flags or environment variables to choose a different endpoint:
spraybus-cli --host localhost --port 7000 pub test_topic "hello"
SPRAYBUS_HOST=localhost SPRAYBUS_PORT=7000 spraybus-cli sub test_topic
Build From This Repository
Build a Linux wheel for PyPI from the repository root with cibuildwheel:
python -m pip install cibuildwheel
CIBW_BUILD=cp310-manylinux_x86_64 \
CIBW_ARCHS_LINUX=x86_64 \
CIBW_MANYLINUX_X86_64_IMAGE=manylinux_2_28 \
CIBW_BEFORE_ALL_LINUX='python -m pip install --upgrade "conan>=2,<3" cmake ninja && cd /project && conan profile detect --force && conan install . --build=missing -s compiler.cppstd=23 -o "&:with_server=False" -o "&:with_apps=True" -o "&:with_python=False" -of build/python-cli' \
CIBW_ENVIRONMENT_LINUX='CMAKE_PREFIX_PATH=/project/build/python-cli/build/Release/generators' \
python -m cibuildwheel \
--output-dir python/cli/dist \
python/cli
Binary wheels should be published for end users. Source builds need CMake to be able to find ENet. The release workflow publishes Linux x86_64, macOS arm64, and macOS x86_64 wheels.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file spraybus_cli-0.0.1a5-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: spraybus_cli-0.0.1a5-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 38.2 kB
- Tags: Python 3, manylinux: glibc 2.24+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
59bf0a3d008210837138fe3d513d45572d619c0044c48dbdd53d00004b88b56f
|
|
| MD5 |
2588545eae0d8804a65f52dd2dbc8d39
|
|
| BLAKE2b-256 |
cdd54fef2a755813b963e865110a2f7426ff35482626cafa2d94aa3c6f2cf4c8
|
Provenance
The following attestation bundles were made for spraybus_cli-0.0.1a5-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
release.yml on humz2k/spraybus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spraybus_cli-0.0.1a5-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
59bf0a3d008210837138fe3d513d45572d619c0044c48dbdd53d00004b88b56f - Sigstore transparency entry: 1660471582
- Sigstore integration time:
-
Permalink:
humz2k/spraybus@f611771fcfd8c6c1826bbcd804a44b16bf359e63 -
Branch / Tag:
refs/tags/v0.0.1a5 - Owner: https://github.com/humz2k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f611771fcfd8c6c1826bbcd804a44b16bf359e63 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spraybus_cli-0.0.1a5-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: spraybus_cli-0.0.1a5-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 34.2 kB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2376fee0f5674a1ca18b2f437dbc0fa566a84ad33d4bcf6f54959013e59e1b96
|
|
| MD5 |
9cc9bb34250851bc74a0eba8bb68d36d
|
|
| BLAKE2b-256 |
6acada2b8bb1d27d5e2965a5c38fb4bcdcba7256ffe5c75f73225c9c5b0196c1
|
Provenance
The following attestation bundles were made for spraybus_cli-0.0.1a5-py3-none-macosx_11_0_arm64.whl:
Publisher:
release.yml on humz2k/spraybus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spraybus_cli-0.0.1a5-py3-none-macosx_11_0_arm64.whl -
Subject digest:
2376fee0f5674a1ca18b2f437dbc0fa566a84ad33d4bcf6f54959013e59e1b96 - Sigstore transparency entry: 1660471996
- Sigstore integration time:
-
Permalink:
humz2k/spraybus@f611771fcfd8c6c1826bbcd804a44b16bf359e63 -
Branch / Tag:
refs/tags/v0.0.1a5 - Owner: https://github.com/humz2k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f611771fcfd8c6c1826bbcd804a44b16bf359e63 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spraybus_cli-0.0.1a5-py3-none-macosx_10_15_x86_64.whl.
File metadata
- Download URL: spraybus_cli-0.0.1a5-py3-none-macosx_10_15_x86_64.whl
- Upload date:
- Size: 34.5 kB
- Tags: Python 3, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14169eb717c5c7e3a73833f7198c7156f72943c2ee53eb4e1dc3270243dc0710
|
|
| MD5 |
c97ced62c10b68158c98ba4df50e4bc9
|
|
| BLAKE2b-256 |
085424ea3acf2b80c50c3c7138a992ea95ad81e8615a463291f405f8fb18c4f2
|
Provenance
The following attestation bundles were made for spraybus_cli-0.0.1a5-py3-none-macosx_10_15_x86_64.whl:
Publisher:
release.yml on humz2k/spraybus
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spraybus_cli-0.0.1a5-py3-none-macosx_10_15_x86_64.whl -
Subject digest:
14169eb717c5c7e3a73833f7198c7156f72943c2ee53eb4e1dc3270243dc0710 - Sigstore transparency entry: 1660471777
- Sigstore integration time:
-
Permalink:
humz2k/spraybus@f611771fcfd8c6c1826bbcd804a44b16bf359e63 -
Branch / Tag:
refs/tags/v0.0.1a5 - Owner: https://github.com/humz2k
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f611771fcfd8c6c1826bbcd804a44b16bf359e63 -
Trigger Event:
push
-
Statement type: