Skip to main content

Telepybot

Python client for making your own Telegram bot!

It has support for webhooks and it automatically handles the setup of self-signed SSL certificates, so you can run it even on a Raspberry Pi or any other home server/laptop (find an example of this in examples/webhook_setup.py).

Install with:

pip -m install telepybot

To use it, just import the Telepybot class and pass it your bot's token:

# Sending a simple message
from telepybot import Telepybot

telepybot = Telepybot(token='YOUR_BOT_API_TOKEN')

user_id = '123456'
telepybot.sendMsg(user_id, 'This message was sent using Telepybot!')

See the examples/ directory for more examples.

Feel free to use it for your own projects and be sure to create issues if something is not working right. Pull requests and feature requests are welcome.

How to get an API Token?

You can generate one using the official instructions from Telegram, it should be fairly straightforward.

Metadata

Release files for telepybot 0.1.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 telepybot 0.1.12
File Size Uploaded Provenance Actions
telepybot-0.1.12.tar.gz 17.6 kB Without provenance Details for telepybot-0.1.12.tar.gz

Built distribution (wheel)

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

Total release size: 36.6 kB

Release files / telepybot-0.1.12.tar.gz

Download URL telepybot-0.1.12.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
791db2c2b2355ae6e19a515abd4794b07bedcc8437cc8c440c809137ab93b8ad
BLAKE2b-256 checksum
How to use checksums
a3ae9eb5609331de273d9f01238fa8ac719c474736987bcb0d759f05f0856184
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.10.2 Windows/10

Release files / telepybot-0.1.12-py3-none-any.whl

Download URL telepybot-0.1.12-py3-none-any.whl
Size 19.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cf33f85f38ae3f43a69c05e93843d10a94f226b052d6f839fa2f9d93e1c932d5
BLAKE2b-256 checksum
How to use checksums
d736cf3d827c8c71ed6ac8f8c8894e24c0d47549ef4e2558bc1b6478ca3aa01a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.1 CPython/3.10.2 Windows/10

Security for telepybot 0.1.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