Skip to main content

Signal Bot Framework

PyPI Downloads Version License CI codecov

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.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.1.2
File Size Uploaded Provenance
signalbot-2.1.2.tar.gz 65.6 kB Without provenance Details

Built distribution (wheel)

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

Total release size: 204.2 kB

Release files / signalbot-2.1.2.tar.gz

Download URL signalbot-2.1.2.tar.gz
Size 65.6 kB
Tags Source
SHA-256 checksum
How to use checksums
416153e91c3ed4202b7410f998569c55ca83d3429468c6f5233fbf72670c5f46
BLAKE2b-256 checksum
How to use checksums
d5edef3566585f5251efd9173083e70f0207b6986e21cc94f8f29c9e340f4fa8
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.2-py3-none-any.whl

Download URL signalbot-2.1.2-py3-none-any.whl
Size 138.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f702f8a2d803cf98b166f1f5c52d3dd9fae299d32d3d439068f4729043bf53f0
BLAKE2b-256 checksum
How to use checksums
8c98a220d7adff6087ca78ab1550e89b83d3b7a97e2c7c5b208e1f3d8c190d0f
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.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.

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.

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files No 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