Signal Bot Framework
Python package to build your own Signal bots.
Installation
See the getting started section in the documentation.
Minimal bot
This is what a minimal bot using signalbot looks like:
import logging
import os
from signalbot import (
Config,
DataMessageContext,
DataMessageHandler,
SendMessage,
SignalBot,
text_triggered,
)
class PingCommand(DataMessageHandler):
@text_triggered("Ping")
async def handle_data_message(self, context: DataMessageContext) -> None:
await context.send(SendMessage(text="Pong"))
if __name__ == "__main__":
bot = SignalBot(
Config(
phone_number=os.environ["PHONE_NUMBER"],
logging_level=logging.INFO,
)
)
bot.register(PingCommand())
bot.start()
Help
See the documentation for more details.
Metadata
Release files for signalbot 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| signalbot-2.1.1.tar.gz | 67.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| signalbot-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 208.3 kB
Release files / signalbot-2.1.1.tar.gz
| Download URL | signalbot-2.1.1.tar.gz |
|---|---|
| Size | 67.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
72c5d0709f8064abe5b385b0cd8cd09026f62bdc8141ec2a9b7bfea4e40a4759
|
|
BLAKE2b-256 checksum How to use checksums |
bb7a9ec17667f466fd9cea4b628d68cc11a0ec50ba4cc4a120d3669f9a67bdcd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / signalbot-2.1.1-py3-none-any.whl
| Download URL | signalbot-2.1.1-py3-none-any.whl |
|---|---|
| Size | 140.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31336d3b2357a1125e3b4e206d83144194d76c8d9d75d55ba8c93124672829c0
|
|
BLAKE2b-256 checksum How to use checksums |
dede23f5b7d73091f44f47f1739852d55df656fef29ade28c720491140a96028
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.0 {"installer":{"name":"uv","version":"0.10.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for signalbot 2.1.1
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.