<p align="center">
<a href="https://github.com/eyMarv/pyroblack">
<img src="https://eyMarv.github.io/pyroblack-docs/main/_static/pyroblack.png" alt="pyroblack" width="128">
</a>
<br>
<b>Telegram MTProto API Framework for Python</b>
<br>
<a href="https://eyMarv.github.io/pyroblack-docs">
Documentation
</a>
•
<a href="https://github.com/eyMarv/pyroblack/issues">
Issues
</a>
•
<a href="https://t.me/OpenFileZ">
Support
</a>
</p>
## pyroblack
> 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 pyroblack!")
app.run()
```
**pyroblack** is a modern, elegant and
asynchronous [MTProto API](https://eyMarv.github.io/pyroblack-docs/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 pyroblack 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
``` bash
pip3 install -U pyroblack
```
### Resources
- Check out the docs at https://eyMarv.github.io/pyroblack-docs to learn more about pyroblack, get started right
away and discover more in-depth material for building your client applications.
- Join the official group at https://t.me/OpenFileZ and stay tuned for news, updates and announcements.
Raw data
{
"_id": null,
"home_page": null,
"name": "pyroblack",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.9",
"maintainer_email": null,
"keywords": "black bsxcs telegram chat messenger mtproto api client library python",
"author": null,
"author_email": "eyMarv <eyMarv07@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/43/8f/70ddbb272082d7e5c7096940d7cbc287e92a8e5794ec375e6d04411e993c/pyroblack-2.5.0.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <a href=\"https://github.com/eyMarv/pyroblack\">\n <img src=\"https://eyMarv.github.io/pyroblack-docs/main/_static/pyroblack.png\" alt=\"pyroblack\" width=\"128\">\n </a>\n <br>\n <b>Telegram MTProto API Framework for Python</b>\n <br>\n <a href=\"https://eyMarv.github.io/pyroblack-docs\">\n Documentation\n </a>\n \u2022\n <a href=\"https://github.com/eyMarv/pyroblack/issues\">\n Issues\n </a>\n \u2022\n <a href=\"https://t.me/OpenFileZ\">\n Support\n </a>\n</p>\n\n## pyroblack\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 pyroblack!\")\n\n\napp.run()\n```\n\n**pyroblack** is a modern, elegant and\nasynchronous [MTProto API](https://eyMarv.github.io/pyroblack-docs/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 pyroblack 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\n 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 -U pyroblack\n```\n\n### Resources\n\n- Check out the docs at https://eyMarv.github.io/pyroblack-docs to learn more about pyroblack, get started right\n away and discover more in-depth material for building your client applications.\n- Join the official group at https://t.me/OpenFileZ and stay tuned for news, updates and announcements.\n",
"bugtrack_url": null,
"license": null,
"summary": "Pyrogram, but black. Elegant, modern and asynchronous Telegram MTProto API framework in Python for users and bots",
"version": "2.5.0",
"project_urls": {
"Community": "https://t.me/OpenFileZ",
"Documentation": "https://eyMarv.github.io/pyroblack-docs",
"Source": "https://github.com/eyMarv/pyroblack",
"Tracker": "https://github.com/eyMarv/pyroblack/issues"
},
"split_keywords": [
"black",
"bsxcs",
"telegram",
"chat",
"messenger",
"mtproto",
"api",
"client",
"library",
"python"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "5cb0124eaf5821189ba3a496751b1daf203aabb99f24971de6e97bad514b9112",
"md5": "da032046beac175ed4fb19b199aa3f36",
"sha256": "588ceb43da360ec1c9368fa6455ac74249b1e44a357813d9ccdf604626af69f5"
},
"downloads": -1,
"filename": "pyroblack-2.5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "da032046beac175ed4fb19b199aa3f36",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.9",
"size": 4728416,
"upload_time": "2024-09-28T16:18:12",
"upload_time_iso_8601": "2024-09-28T16:18:12.095434Z",
"url": "https://files.pythonhosted.org/packages/5c/b0/124eaf5821189ba3a496751b1daf203aabb99f24971de6e97bad514b9112/pyroblack-2.5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "438f70ddbb272082d7e5c7096940d7cbc287e92a8e5794ec375e6d04411e993c",
"md5": "c5fed9aeb39e61ea29c1bead3365570a",
"sha256": "d2fc5a5a6452e4d8540c25ca0a1bcce6dcc8b4b8442c8322a30949539cdba556"
},
"downloads": -1,
"filename": "pyroblack-2.5.0.tar.gz",
"has_sig": false,
"md5_digest": "c5fed9aeb39e61ea29c1bead3365570a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.9",
"size": 458338,
"upload_time": "2024-09-28T16:18:14",
"upload_time_iso_8601": "2024-09-28T16:18:14.096437Z",
"url": "https://files.pythonhosted.org/packages/43/8f/70ddbb272082d7e5c7096940d7cbc287e92a8e5794ec375e6d04411e993c/pyroblack-2.5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-28 16:18:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "eyMarv",
"github_project": "pyroblack",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyroblack"
}