Skip to main content

tgbotplug is meant to be an easy-to-extend telegram bot built around twx.botapi.

Using tgbotplug, after choosing/developing your plugins, is as simple as:

import tgbot
tgbot.TGBot(
  'YOUR_BOT_TOKEN',
  plugins=[
    Plugin1(),
    ...,
    PluginN(),
  ],
).run()

Overview

PyPI version Build Status Coverage Status

  1. Documentation

  2. VirtualLife Examples

Documentation

Plugins should inherit tgbot.pluginbase.TGPluginBase and implement list_commands() (and the methods mapped in its result).

Documentation is a bit scarse (== None) at the moment so please focus on the plugin examples and the VirtualLife Examples for now!

VirtualLife Examples

  • PriberamBot - uses webhooks, inline queries, packaged for Heroku

  • ButtieBot - uses webhooks, sends photos, packaged for OpenShift

  • EuromillionsBot - uses webhooks, inline queries, packaged for OpenShift

  • PushItBot - uses webhooks, extends tgbotplug Bottle app for extra routes, packaged for OpenShift

  • IndieShuffleBot - uses webhooks, sends audio, packaged for OpenShift

Metadata

Release files for tgbotplug 1.2.12

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

Source distribution (sdist)

Source distribution for tgbotplug 1.2.12
File Size Uploaded Provenance Actions
tgbotplug-1.2.12.tar.gz 26.9 kB Without provenance Details for tgbotplug-1.2.12.tar.gz

Release files / tgbotplug-1.2.12.tar.gz

Download URL tgbotplug-1.2.12.tar.gz
Size 26.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c86e5f88481ee0e9c4fbe64379de863adb6782af596c2bc82c4d6bb8016af594
BLAKE2b-256 checksum
How to use checksums
4f67ff1301cb3a2d574f8ede03b422ab938e31b74931f59b76ba3475fd76de4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tgbotplug 1.2.12

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.

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