Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

spraybus_cli-0.0.1a3-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl (38.2 kB view details)

Uploaded Python 3manylinux: glibc 2.24+ x86-64manylinux: glibc 2.28+ x86-64

spraybus_cli-0.0.1a3-py3-none-macosx_11_0_arm64.whl (34.2 kB view details)

Uploaded Python 3macOS 11.0+ ARM64

spraybus_cli-0.0.1a3-py3-none-macosx_10_15_x86_64.whl (34.5 kB view details)

Uploaded Python 3macOS 10.15+ x86-64

File details

Details for the file spraybus_cli-0.0.1a3-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for spraybus_cli-0.0.1a3-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8c00e13498bad65d05e7a186cda4ca6c4c715aa80dae423fc39d0b0705fecb05
MD5 9d8ab7190078c82b70f78765899aa5b6
BLAKE2b-256 f9835b6874a9e239f08eace8ea943b4e7efb2c22a5e0190e2babd9fcac4021c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for spraybus_cli-0.0.1a3-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl:

Publisher: release.yml on humz2k/spraybus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spraybus_cli-0.0.1a3-py3-none-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spraybus_cli-0.0.1a3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 dbd11918d61c4c0baae22b95d853a395d4061643bae29b15ad2797ecccc4a154
MD5 b0727930d14cec5b5dd51a8a164e6879
BLAKE2b-256 6d962a2348e96f2399e3e53e597ef940b0bd2aafa31c67614e2ef2e577324839

See more details on using hashes here.

Provenance

The following attestation bundles were made for spraybus_cli-0.0.1a3-py3-none-macosx_11_0_arm64.whl:

Publisher: release.yml on humz2k/spraybus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spraybus_cli-0.0.1a3-py3-none-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for spraybus_cli-0.0.1a3-py3-none-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 3f1a3bdfaafed1c403f3805ab82bee704dd1e950e7dcc7aa4ccb375bc36f380e
MD5 7ca6a536e4c43688a024603f09f8f421
BLAKE2b-256 d58c67752e667975a6016b27c0721e26fdfb59072701d20cba90fbd43da51768

See more details on using hashes here.

Provenance

The following attestation bundles were made for spraybus_cli-0.0.1a3-py3-none-macosx_10_15_x86_64.whl:

Publisher: release.yml on humz2k/spraybus

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page