Skip to main content

sigbot-client

Zero-dependency Python client for the sigbot service API. Each sigbot service is one Signal group chat with its own persona; an API key (minted in the sigbot dashboard) scopes this client to that group.

Install

pip install sigbot-client

(Or grab the wheel from the GitHub releases page, or build it from the repo with bazel build //client:sigbot_client_wheel — the py_wheel target in BUILD.bazel is the package's single source of metadata.)

Use

from sigbot_client import ServiceClient

bot = ServiceClient("http://myhost:8100", api_key="sb_...")

bot.service()                    # {'name': ..., 'label': ..., 'group_name': ...}
bot.send("deploy finished ✅")   # post into the group as the bot
bot.send("raw text", prefix=False)  # suppress the [label] prefix for this message

# Read the group's message log; poll incrementally with after_id:
msgs = bot.messages(limit=50)
newer = bot.messages(after_id=msgs[-1]["id"]) if msgs else []

Errors surface as SigbotApiError with .status and .message (e.g. 401 for a revoked key).

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 Distribution

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

sigbot_client-0.2.5-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file sigbot_client-0.2.5-py3-none-any.whl.

File metadata

  • Download URL: sigbot_client-0.2.5-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for sigbot_client-0.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 71287b1d1c61cb748cd7a51e7f848330b2efdbf927ec461509c54d53c20c9bdc
MD5 6865b5bf88fa8d9119d963099a9cc547
BLAKE2b-256 825cda286fe817cece87e95623a02162aeb414c2b92b0732f498dfb076b6f56b

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigbot_client-0.2.5-py3-none-any.whl:

Publisher: ci.yml on fughilli/sigbot

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 Sentry Error logging StatusPage Status page