Catalog PyPI
PACKAGE EXPLORERView in registry

agram

PyPI

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

apichatclientlibrarymessengermtprotopythontelegram
Versions collected1
Direct dependencies0From release 2.0.99
Last observed21 Oct, 09:25 UTC

README

Version 2.0.99 documentation

agram
Telegram MTProto API Framework for Python
Homepage • Documentation • Releases • News

agram

Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots

from agram import Client, filters

app = Client("my_account")


@app.on_message(filters.private)
async def hello(client, message):
    await message.reply("Hello from agram!")


app.run()

agram 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 agram 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 agram

Resources

  • Check out the docs at https://selamarket.shop to learn more about agram, get started right away and discover more in-depth material for building your client applications.
  • Join the official channel at https://t.me/XTIORY and stay tuned for news, updates and announcements.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.9914 Feb 20230

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
xtiory/agram

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 09:25 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:086bc2bc5114be517e7eba54a98421202bcbb39a005e606d52fac35f46748217