<div align='center'>
<img style='border-radius: 10px' src='https://iili.io/HIjPRS9.jpg' alt='pyrubi image' width='320' height='140'>
<br>
<br>
<b>Fast & powerfull Rubika API library</b>
<br>
<a href='https://github.com/AliGanji1/pyrubi'>GitHub</a>
•
<a href='https://rubika.ir/pyrubi_documents'>Documents</a>
</div>
# Pyrubi 3.6.0
[![Downloads](https://static.pepy.tech/badge/pyrubi)](https://pepy.tech/project/pyrubi)
> Fast and powerfull Rubika API library for building self bots.
<hr>
### Install or Update:
``` bash
pip install -U pyrubi
```
<hr>
### Quick start:
``` python
from pyrubi import Client
from pyrubi.types import Message
client = Client("mySelf")
@client.on_message(regexp="hello")
def send_hello(message: Message):
message.reply("**hello** __from__ ##pyrubi##")
client.run()
```
also you can enter your session data manually:
```python
from pyrubi import Client
from pyrubi.types import Message
auth_key = "abcdefghijklnopkrstuvwxyzazxcqwe"
private_key = "-----BEGIN RSA PRIVATE KEY-----\n..."
client = Client(auth=auth_key, private=private_key)
@client.on_message(regexp="hello")
def send_hello(message: Message):
message.reply("**hello** __from__ ##pyrubi##")
client.run()
```
<hr>
### Features:
- **Fast** : *The requests are very fast and optimize.*
- **Powerful** : *While the library is simple, it has high speed and features that make your work easier and faster*
- **Easy** : *All methods and features are designed as easy and optimal as possible*
<hr>
### Social Media:
### <a href='https://rubika.ir/pyrubika'>Rubika</a>
<hr>
### 🌟 Star History
[![Star History Chart](https://api.star-history.com/svg?repos=AliGanji1/Pyrubi&type=Date)](https://star-history.com/#AliGanji1/Pyrubi&Date)
Raw data
{
"_id": null,
"home_page": "https://github.com/AliGanji1/pyrubi",
"name": "pyrubi",
"maintainer": null,
"docs_url": null,
"requires_python": "~=3.7",
"maintainer_email": null,
"keywords": "rubika, rubino, pyrubi, pyrubika, bot, chat",
"author": "Ali Ganji zadeh",
"author_email": "ali.ganji.za@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/9e/1b/5177de03debbe72a9989d489f713c8dbaabd0ad071a0dadbbd8bc82b4bbb/pyrubi-3.6.0.tar.gz",
"platform": null,
"description": "<div align='center'>\r\n <img style='border-radius: 10px' src='https://iili.io/HIjPRS9.jpg' alt='pyrubi image' width='320' height='140'>\r\n <br>\r\n <br>\r\n <b>Fast & powerfull Rubika API library</b>\r\n <br>\r\n <a href='https://github.com/AliGanji1/pyrubi'>GitHub</a>\r\n \u2022\r\n <a href='https://rubika.ir/pyrubi_documents'>Documents</a>\r\n</div>\r\n\r\n\r\n# Pyrubi 3.6.0\r\n[![Downloads](https://static.pepy.tech/badge/pyrubi)](https://pepy.tech/project/pyrubi)\r\n> Fast and powerfull Rubika API library for building self bots.\r\n\r\n\r\n<hr>\r\n\r\n### Install or Update:\r\n\r\n``` bash\r\npip install -U pyrubi\r\n```\r\n\r\n<hr>\r\n\r\n### Quick start:\r\n\r\n``` python\r\nfrom pyrubi import Client\r\nfrom pyrubi.types import Message\r\n\r\nclient = Client(\"mySelf\")\r\n\r\n@client.on_message(regexp=\"hello\")\r\ndef send_hello(message: Message):\r\n message.reply(\"**hello** __from__ ##pyrubi##\")\r\n\r\nclient.run()\r\n```\r\n\r\nalso you can enter your session data manually:\r\n```python\r\nfrom pyrubi import Client\r\nfrom pyrubi.types import Message\r\n\r\nauth_key = \"abcdefghijklnopkrstuvwxyzazxcqwe\"\r\nprivate_key = \"-----BEGIN RSA PRIVATE KEY-----\\n...\"\r\n\r\nclient = Client(auth=auth_key, private=private_key)\r\n\r\n@client.on_message(regexp=\"hello\")\r\ndef send_hello(message: Message):\r\n message.reply(\"**hello** __from__ ##pyrubi##\")\r\n\r\nclient.run()\r\n```\r\n\r\n<hr>\r\n\r\n### Features:\r\n \r\n- **Fast** : *The requests are very fast and optimize.*\r\n\r\n- **Powerful** : *While the library is simple, it has high speed and features that make your work easier and faster*\r\n\r\n- **Easy** : *All methods and features are designed as easy and optimal as possible*\r\n\r\n\r\n<hr>\r\n\r\n### Social Media:\r\n### <a href='https://rubika.ir/pyrubika'>Rubika</a>\r\n\r\n<hr>\r\n\r\n### \ud83c\udf1f Star History\r\n\r\n[![Star History Chart](https://api.star-history.com/svg?repos=AliGanji1/Pyrubi&type=Date)](https://star-history.com/#AliGanji1/Pyrubi&Date)\r\n",
"bugtrack_url": null,
"license": null,
"summary": "This is a powerful and easy library for building self bot in the Rubika.",
"version": "3.6.0",
"project_urls": {
"Homepage": "https://github.com/AliGanji1/pyrubi"
},
"split_keywords": [
"rubika",
" rubino",
" pyrubi",
" pyrubika",
" bot",
" chat"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "58b7260e7dd74c447fd26fe84a70ecb5794877f996402ebce40f5eeb33c48b18",
"md5": "11258da628c8c2a1f562c07d2cbb2af5",
"sha256": "3fcb99b093a2da3a8782c1b7c74c030a3e1c5a992248c0b030f88b1eda349f39"
},
"downloads": -1,
"filename": "pyrubi-3.6.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "11258da628c8c2a1f562c07d2cbb2af5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "~=3.7",
"size": 31050,
"upload_time": "2024-04-25T16:34:49",
"upload_time_iso_8601": "2024-04-25T16:34:49.290830Z",
"url": "https://files.pythonhosted.org/packages/58/b7/260e7dd74c447fd26fe84a70ecb5794877f996402ebce40f5eeb33c48b18/pyrubi-3.6.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "9e1b5177de03debbe72a9989d489f713c8dbaabd0ad071a0dadbbd8bc82b4bbb",
"md5": "438239ced7ae68c030957f2c2049b8e7",
"sha256": "5f1bf1cd97e11653342864b237639145781a6cbbf1618dd27c7259e345b088de"
},
"downloads": -1,
"filename": "pyrubi-3.6.0.tar.gz",
"has_sig": false,
"md5_digest": "438239ced7ae68c030957f2c2049b8e7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "~=3.7",
"size": 29236,
"upload_time": "2024-04-25T16:34:51",
"upload_time_iso_8601": "2024-04-25T16:34:51.473490Z",
"url": "https://files.pythonhosted.org/packages/9e/1b/5177de03debbe72a9989d489f713c8dbaabd0ad071a0dadbbd8bc82b4bbb/pyrubi-3.6.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-04-25 16:34:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "AliGanji1",
"github_project": "pyrubi",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyrubi"
}