Skip to main content

file-00000000d61c8211bf1838bd7e34f360
Telegram MTProto API Framework for Python

telegram badge telegram badge telegram badge

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)

Source distribution for Foxgram 0.0.4
File Size Uploaded
foxgram-0.0.4.tar.gz 623.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Foxgram 0.0.4
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

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