Skip to main content
signalbot

PyPI Downloads Version License CI codecov

A Python framework for Signal bots. You write handlers for the events you care about, like messages or reactions, and respond by sending your own messages and reactions, or by creating polls. It talks to Signal through signal-cli-rest-api and comes with test helpers, so you can test your bot without a real Signal account.

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.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for signalbot 2.2.2
File Size Uploaded Provenance Actions
signalbot-2.2.2.tar.gz 67.2 kB With provenance Details for signalbot-2.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for signalbot 2.2.2
File Interpreter ABI Platform Actions
signalbot-2.2.2-py3-none-any.whl Python 3 none any Details for signalbot-2.2.2-py3-none-any.whl

Total release size: 207.7 kB

Release files / signalbot-2.2.2.tar.gz

Download URL signalbot-2.2.2.tar.gz
Size 67.2 kB
Tags Source
SHA-256 checksum
How to use checksums
4c6eef3240d4ce2dc8cea4e493af8453e10ffa15010d7b49d198c1f63bf0e2ef
BLAKE2b-256 checksum
How to use checksums
dc0fde4c32b0ab84d87071a27ffba2973ef4ab93040f2c77e6c7e3edac993490
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Nov 28, 2026.

Transparency log

Release files / signalbot-2.2.2-py3-none-any.whl

Download URL signalbot-2.2.2-py3-none-any.whl
Size 140.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a51e856a2d694655121dfc72d598125aeffeda4667a0fe72ab9a76ce446e9b49
BLAKE2b-256 checksum
How to use checksums
7ae70fb1422bd799cb3bdffddc58d9bfd46d009a6b7b73dad704d759d64ced04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Nov 28, 2026.

Transparency log

Security for signalbot 2.2.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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for signalbot-2.2.2.tar.gz

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 Nov 28, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2.2.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page