py-tggram


Namepy-tggram JSON
Version 0.1.4 PyPI version JSON
download
home_pageNone
SummaryElegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
upload_time2025-09-04 12:49:57
maintainerEndtrz
docs_urlNone
authorNone
requires_python>=3.8
licenseLGPL-3.0-or-later
keywords api chat client library messenger mtproto python telegram
VCS
bugtrack_url
requirements pyaes pysocks
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
    <a href="https://github.com/Endtrz/py-gram">
        <img src="https://files.catbox.moe/ww15t3.jpg" alt="Pyrogram" width="128">
    </a>
    <br>
    <b>Telegram MTProto API Framework for Python</b>
    <br>
    <a href="https://kurigram.live">
        Homepage
    </a>
    •
    <a href="https://docs.kurigram.live">
        Documentation
    </a>
    •
    <a href="https://t.me/kurigram_news">
        News
    </a>
    •
    <a href="https://t.me/kurigram_chat">
        Chat
    </a>
</p>

## Pyrogram

> [!NOTE]
> Unfortunately, the original pyrogram is no longer supported. I will try to be your @hasnainkk.

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

``` python
from pyrogram import Client, filters

app = Client("my_account")


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


app.run()
```

**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.kurigram.live/topics/mtproto-vs-botapi)
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 Pyrogram 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](https://github.com/pyrogram/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

Stable version

``` bash
pip3 install py-gram 
```

### Resources

- Check out the [docs](https://docs.kurigram.live) to learn more about Pyrogram, get started right
away and discover more in-depth material for building your client applications.
- Join the [official channel](https://t.me/Nyrixa) and stay tuned for news, updates and announcements.
- Join the [official chat](https://t.me/Endxoz) to communicate with people.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "py-tggram",
    "maintainer": "Endtrz",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "api, chat, client, library, messenger, mtproto, python, telegram",
    "author": null,
    "author_email": "Endtrz <endtrz@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/9f/58/88059fc357f533733e7032e99a1742e522b221347d6f77b51e3bf598ed09/py_tggram-0.1.4.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n    <a href=\"https://github.com/Endtrz/py-gram\">\n        <img src=\"https://files.catbox.moe/ww15t3.jpg\" alt=\"Pyrogram\" width=\"128\">\n    </a>\n    <br>\n    <b>Telegram MTProto API Framework for Python</b>\n    <br>\n    <a href=\"https://kurigram.live\">\n        Homepage\n    </a>\n    \u2022\n    <a href=\"https://docs.kurigram.live\">\n        Documentation\n    </a>\n    \u2022\n    <a href=\"https://t.me/kurigram_news\">\n        News\n    </a>\n    \u2022\n    <a href=\"https://t.me/kurigram_chat\">\n        Chat\n    </a>\n</p>\n\n## Pyrogram\n\n> [!NOTE]\n> Unfortunately, the original pyrogram is no longer supported. I will try to be your @hasnainkk.\n\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\n\n``` python\nfrom pyrogram import Client, filters\n\napp = Client(\"my_account\")\n\n\n@app.on_message(filters.private)\nasync def hello(client, message):\n    await message.reply(\"Hello from Pyrogram!\")\n\n\napp.run()\n```\n\n**Pyrogram** is a modern, elegant and asynchronous [MTProto API](https://docs.kurigram.live/topics/mtproto-vs-botapi)\nframework. It enables you to easily interact with the main Telegram API through a user account (custom client) or a bot\nidentity (bot API alternative) using Python.\n\n### Key Features\n\n- **Ready**: Install Pyrogram with pip and start building your applications right away.\n- **Easy**: Makes the Telegram API simple and intuitive, while still allowing advanced usages.\n- **Elegant**: Low-level details are abstracted and re-presented in a more convenient way.\n- **Fast**: Boosted up by [TgCrypto](https://github.com/pyrogram/tgcrypto), a high-performance cryptography library written in C.\n- **Type-hinted**: Types and methods are all type-hinted, enabling excellent editor support.\n- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).\n- **Powerful**: Full access to Telegram's API to execute any official client action and more.\n\n### Installing\n\nStable version\n\n``` bash\npip3 install py-gram \n```\n\n### Resources\n\n- Check out the [docs](https://docs.kurigram.live) to learn more about Pyrogram, get started right\naway and discover more in-depth material for building your client applications.\n- Join the [official channel](https://t.me/Nyrixa) and stay tuned for news, updates and announcements.\n- Join the [official chat](https://t.me/Endxoz) to communicate with people.\n",
    "bugtrack_url": null,
    "license": "LGPL-3.0-or-later",
    "summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
    "version": "0.1.4",
    "project_urls": {
        "Community": "https://t.me/Endxoz",
        "Documentation": "https://docs.kurigram.live",
        "Homepage": "https://kurigram.live",
        "Issues": "https://github.com/Endtrz/py-gram/issues",
        "Source": "https://github.com/Endtrz/py-gram"
    },
    "split_keywords": [
        "api",
        " chat",
        " client",
        " library",
        " messenger",
        " mtproto",
        " python",
        " telegram"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a7ccec3995910a2a17c3816d0c7f78ba421ede5a14e8dce0b7b31c3e92b389e5",
                "md5": "7b447e14c9e34b8e45dc5fa7f0db6292",
                "sha256": "0ec03095d5595901c2fa465f4b5817850fc1757017c60f2b0de37e6cd748c6b9"
            },
            "downloads": -1,
            "filename": "py_tggram-0.1.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "7b447e14c9e34b8e45dc5fa7f0db6292",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 658807,
            "upload_time": "2025-09-04T12:49:55",
            "upload_time_iso_8601": "2025-09-04T12:49:55.856133Z",
            "url": "https://files.pythonhosted.org/packages/a7/cc/ec3995910a2a17c3816d0c7f78ba421ede5a14e8dce0b7b31c3e92b389e5/py_tggram-0.1.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "9f5888059fc357f533733e7032e99a1742e522b221347d6f77b51e3bf598ed09",
                "md5": "128c5802803828bd94daa47d19bc44e3",
                "sha256": "7dcc4f341da59a83a22ba95129177c246712e85832675808e898448c609ae889"
            },
            "downloads": -1,
            "filename": "py_tggram-0.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "128c5802803828bd94daa47d19bc44e3",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 324047,
            "upload_time": "2025-09-04T12:49:57",
            "upload_time_iso_8601": "2025-09-04T12:49:57.285462Z",
            "url": "https://files.pythonhosted.org/packages/9f/58/88059fc357f533733e7032e99a1742e522b221347d6f77b51e3bf598ed09/py_tggram-0.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-04 12:49:57",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Endtrz",
    "github_project": "py-gram",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "pyaes",
            "specs": [
                [
                    "==",
                    "1.6.1"
                ]
            ]
        },
        {
            "name": "pysocks",
            "specs": [
                [
                    "==",
                    "1.7.1"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "py-tggram"
}
        
Elapsed time: 0.66809s