<p align="center">
<a href="https://github.com/rizaldevs/cybergram">
<img src="https://docs.cybergram.org/_static/cybergram.png" alt="cybergram" width="128">
</a>
<br>
<b>Telegram MTProto API Framework for Python</b>
<br>
<a href="https://cybergram.org">
Homepage
</a>
•
<a href="https://docs.cybergram.org">
Documentation
</a>
•
<a href="https://docs.cybergram.org/releases">
Releases
</a>
•
<a href="https://t.me/cybergram">
News
</a>
</p>
## cybergram
> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots
``` python
from cybergram import Client, filters
app = Client("my_account")
@app.on_message(filters.private)
async def hello(client, message):
await message.reply("Hello from cybergram!")
app.run()
```
**cybergram** is a modern, elegant and asynchronous [MTProto API](https://docs.cybergram.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 cybergram, you can consider:
- [Become a GitHub sponsor](https://github.com/sponsors/rizaldevs).
- [Become a LiberaPay patron](https://liberapay.com/rizaldevs).
- [Become an OpenCollective backer](https://opencollective.com/cybergram).
### Key Features
- **Ready**: Install cybergram 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 [tgcyber](https://github.com/rizaldevs/tgcyber), 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 cybergram
```
### Resources
- Check out the docs at https://docs.cybergram.org to learn more about cybergram, get started right
away and discover more in-depth material for building your client applications.
- Join the official channel at https://t.me/cybergram and stay tuned for news, updates and announcements.
Raw data
{
"_id": null,
"home_page": "https://github.com/rizaldevs",
"name": "cybergram",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": null,
"keywords": "telegram chat messenger mtproto api client library python",
"author": "rizal",
"author_email": "rizaldaitona@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/8a/2c/68ff514a8131cdeeea51ed5d02a911babecf1754671d87fc1ccec374dbb5/cybergram-3.3.106.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://github.com/rizaldevs/cybergram\">\n <img src=\"https://docs.cybergram.org/_static/cybergram.png\" alt=\"cybergram\" width=\"128\">\n </a>\n <br>\n <b>Telegram MTProto API Framework for Python</b>\n <br>\n <a href=\"https://cybergram.org\">\n Homepage\n </a>\n \u2022\n <a href=\"https://docs.cybergram.org\">\n Documentation\n </a>\n \u2022\n <a href=\"https://docs.cybergram.org/releases\">\n Releases\n </a>\n \u2022\n <a href=\"https://t.me/cybergram\">\n News\n </a>\n</p>\n\n## cybergram\n\n> Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots\n\n``` python\nfrom cybergram 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 cybergram!\")\n\n\napp.run()\n```\n\n**cybergram** is a modern, elegant and asynchronous [MTProto API](https://docs.cybergram.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 cybergram, you can consider:\n\n- [Become a GitHub sponsor](https://github.com/sponsors/rizaldevs).\n- [Become a LiberaPay patron](https://liberapay.com/rizaldevs).\n- [Become an OpenCollective backer](https://opencollective.com/cybergram).\n\n### Key Features\n\n- **Ready**: Install cybergram 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 [tgcyber](https://github.com/rizaldevs/tgcyber), 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 cybergram\n```\n\n### Resources\n\n- Check out the docs at https://docs.cybergram.org to learn more about cybergram, get started right\naway and discover more in-depth material for building your client applications.\n- Join the official channel at https://t.me/cybergram 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": "3.3.106",
"project_urls": {
"Community": "https://t.me/halopyrogram",
"Documentation": "https://docs.pyrogram.org",
"Download": "https://github.com/rizaldevs/cybergram/releases/latest",
"Homepage": "https://github.com/rizaldevs",
"Source": "https://github.com/rizaldevs/cybergram",
"Tracker": "https://github.com/rizaldevs/cybergram/issues"
},
"split_keywords": [
"telegram",
"chat",
"messenger",
"mtproto",
"api",
"client",
"library",
"python"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e02de98a385081ed86569f8a732718db547bec40e98f58ffa588435f17eaeffe",
"md5": "301fe48b2c9cdc692ecb0b7560ca7219",
"sha256": "b600f1b1ec3374935c0c451931c44410192d8965a01007901723051e095fc5f0"
},
"downloads": -1,
"filename": "cybergram-3.3.106-py3-none-any.whl",
"has_sig": false,
"md5_digest": "301fe48b2c9cdc692ecb0b7560ca7219",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 3581912,
"upload_time": "2024-04-09T13:45:07",
"upload_time_iso_8601": "2024-04-09T13:45:07.816033Z",
"url": "https://files.pythonhosted.org/packages/e0/2d/e98a385081ed86569f8a732718db547bec40e98f58ffa588435f17eaeffe/cybergram-3.3.106-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8a2c68ff514a8131cdeeea51ed5d02a911babecf1754671d87fc1ccec374dbb5",
"md5": "203a9e7ff04d1ca273d75d433b14c193",
"sha256": "89aec67cfc9c2ec677e377f026c80866036788fb5ce7b34ab2e30a30db3d47d5"
},
"downloads": -1,
"filename": "cybergram-3.3.106.tar.gz",
"has_sig": false,
"md5_digest": "203a9e7ff04d1ca273d75d433b14c193",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 342610,
"upload_time": "2024-04-09T13:45:10",
"upload_time_iso_8601": "2024-04-09T13:45:10.589145Z",
"url": "https://files.pythonhosted.org/packages/8a/2c/68ff514a8131cdeeea51ed5d02a911babecf1754671d87fc1ccec374dbb5/cybergram-3.3.106.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-09 13:45:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "rizaldevs",
"github_project": "cybergram",
"github_not_found": true,
"lcname": "cybergram"
}