Telegram MTProto API Framework for Python
Foxgram
Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
from pyrogram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from Foxgram!")
app.run()
Foxgram is a modern, elegant and asynchronous MTProto API framework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot identity (bot API alternative) using Python.
Key Features
- Ready: Install foxgram with pip and start building your applications right away.
- Easy: Makes the Telegram API simple and intuitive, while still allowing advanced usages.
- Elegant: Low-level details are abstracted and re-presented in a more convenient way.
- Fast: Boosted up by TgCrypto, a high-performance cryptography library written in C.
- Type-hinted: Types and methods are all type-hinted, enabling excellent editor support.
- Async: Fully asynchronous (also usable synchronously if wanted, for convenience).
- Powerful: Full access to Telegram's API to execute any official client action and more.
Installing
pip3 install Foxgram
Support
If you'd like to support Oxgrams, you can consider: Become a GitHub sponsor.
Metadata
Release files for Foxgram 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| foxgram-0.0.4.tar.gz | 623.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| foxgram-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 MB
Release files / foxgram-0.0.4.tar.gz
| Download URL | foxgram-0.0.4.tar.gz |
|---|---|
| Size | 623.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ca8c723516f6d9cd4453e48047a96879004cfe2ec8fba176f7e2417c5fde41d
|
|
BLAKE2b-256 checksum How to use checksums |
da50dfaee3bbe68ad91ec3ae2dd0c01158e394094831a640b6ee728fd8a5376f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / foxgram-0.0.4-py3-none-any.whl
| Download URL | foxgram-0.0.4-py3-none-any.whl |
|---|---|
| Size | 5.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
95b3159fac3e580a89175070536e76838a55e4ac38d4e835a7ab64f1096ad529
|
|
BLAKE2b-256 checksum How to use checksums |
a246b2e7872a9166453c83b998edf27c33b0603b339b933b596ca5f85d58af81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|