techgram


Nametechgram JSON
Version 2.0.6 PyPI version JSON
download
home_pagehttps://github.com/techgram
SummaryElegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
upload_time2024-08-07 20:14:07
maintainerNone
docs_urlNone
authorDan
requires_python~=3.7
licenseLGPLv3
keywords telegram chat messenger mtproto api client library python
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
    <a href="https://github.com/techgram/techgram">
        <img src="https://docs.techgram.org/_static/techgram.png" alt="Pyrogram" width="128">
    </a>
    <br>
    <b>Telegram MTProto API Framework for Python</b>
    <br>
    <a href="https://techgram.org">
        Homepage
    </a>
    •
    <a href="https://docs.techgram.org">
        Documentation
    </a>
    •
    <a href="https://docs.techgram.org/releases">
        Releases
    </a>
    •
    <a href="https://t.me/techgram">
        News
    </a>
</p>

## Pyrogram

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

``` python
from techgram 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.techgram.org/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.

### Support

If you'd like to support Pyrogram, you can consider:

- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).
- [Become a LiberaPay patron](https://liberapay.com/delivrance).
- [Become an OpenCollective backer](https://opencollective.com/techgram).

### 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/techgram/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

``` bash
pip3 install techgram
```

### Resources

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/techgram",
    "name": "techgram",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "~=3.7",
    "maintainer_email": null,
    "keywords": "telegram chat messenger mtproto api client library python",
    "author": "Dan",
    "author_email": "dan@techgram.org",
    "download_url": "https://github.com/techgram/techgram/releases/latest",
    "platform": null,
    "description": "<p align=\"center\">\n    <a href=\"https://github.com/techgram/techgram\">\n        <img src=\"https://docs.techgram.org/_static/techgram.png\" alt=\"Pyrogram\" width=\"128\">\n    </a>\n    <br>\n    <b>Telegram MTProto API Framework for Python</b>\n    <br>\n    <a href=\"https://techgram.org\">\n        Homepage\n    </a>\n    \u2022\n    <a href=\"https://docs.techgram.org\">\n        Documentation\n    </a>\n    \u2022\n    <a href=\"https://docs.techgram.org/releases\">\n        Releases\n    </a>\n    \u2022\n    <a href=\"https://t.me/techgram\">\n        News\n    </a>\n</p>\n\n## Pyrogram\n\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\n\n``` python\nfrom techgram 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.techgram.org/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### Support\n\nIf you'd like to support Pyrogram, you can consider:\n\n- [Become a GitHub sponsor](https://github.com/sponsors/delivrance).\n- [Become a LiberaPay patron](https://liberapay.com/delivrance).\n- [Become an OpenCollective backer](https://opencollective.com/techgram).\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/techgram/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\n``` bash\npip3 install techgram\n```\n\n### Resources\n\n- Check out the docs at https://docs.techgram.org 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 at https://t.me/techgram and stay tuned for news, updates and announcements.\n",
    "bugtrack_url": null,
    "license": "LGPLv3",
    "summary": "Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
    "version": "2.0.6",
    "project_urls": {
        "Community": "https://t.me/techgram",
        "Documentation": "https://docs.techgram.org",
        "Download": "https://github.com/techgram/techgram/releases/latest",
        "Homepage": "https://github.com/techgram",
        "Source": "https://github.com/techgram/techgram",
        "Tracker": "https://github.com/techgram/techgram/issues"
    },
    "split_keywords": [
        "telegram",
        "chat",
        "messenger",
        "mtproto",
        "api",
        "client",
        "library",
        "python"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "271008f2d5cfcbfc7274c178a305d7d9899888da83e3d67b6b1ed23fada911e8",
                "md5": "72f64cd3f5019fa048412f0f2ab8c70b",
                "sha256": "ed9763d5e9381bb4994ab6491675e39242be048200c4e86c459561e308fdfbee"
            },
            "downloads": -1,
            "filename": "techgram-2.0.6-cp310-cp310-manylinux2014_x86_64.whl",
            "has_sig": false,
            "md5_digest": "72f64cd3f5019fa048412f0f2ab8c70b",
            "packagetype": "bdist_wheel",
            "python_version": "cp310",
            "requires_python": "~=3.7",
            "size": 10424520,
            "upload_time": "2024-08-07T20:14:07",
            "upload_time_iso_8601": "2024-08-07T20:14:07.629734Z",
            "url": "https://files.pythonhosted.org/packages/27/10/08f2d5cfcbfc7274c178a305d7d9899888da83e3d67b6b1ed23fada911e8/techgram-2.0.6-cp310-cp310-manylinux2014_x86_64.whl",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-07 20:14:07",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "techgram",
    "github_project": "techgram",
    "github_not_found": true,
    "lcname": "techgram"
}
        
Dan
Elapsed time: 0.74309s