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

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

Built distribution (wheel)

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

Total release size: 204.2 kB

Release files / signalbot-2.1.3.tar.gz

Download URL signalbot-2.1.3.tar.gz
Size 65.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ca7f0eb10771d186ace1eeffca80b3aed2bc71c98c22bf0e55d3c45ae40561cb
BLAKE2b-256 checksum
How to use checksums
84f0ae50a42b7eb16011f55e5c14c2b6a5298809012f93faea64cf80b0135b26
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.3-py3-none-any.whl

Download URL signalbot-2.1.3-py3-none-any.whl
Size 138.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d496583faf926dde010419eb74a39f8c76e3e957ea40f91b1bf2f09e4649c82
BLAKE2b-256 checksum
How to use checksums
dc21fe92686d8d7067dcd3aecf25ecbc45556a195be72876e99d16b79cd2c7fb
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.3

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