pyrubi


Namepyrubi JSON
Version 3.5.1 PyPI version JSON
download
home_pagehttps://github.com/AliGanji1/pyrubi
SummaryThis is a powerful and easy library for building self bot in the Rubika.
upload_time2024-02-11 19:29:53
maintainer
docs_urlNone
authorAli Ganji zadeh
requires_python~=3.7
license
keywords rubika rubino pyrubi pyrubika bot chat
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align='center'>
    <img src='https://iili.io/HIjPRS9.jpg' alt='pyrubi image' width='270' height=120 class="image">
    <br>
    <b>Fast and powerfull Rubika API library</b>
</p>

<p align='center'>
    <a href='https://github.com/AliGanji1/pyrubi'>GitHub</a>
    •
    <a href='https://rubika.ir/pyrubi_documents'>Documents</a>
</p>


## Pyrubi 3.5.1
> Fast and powerfull Rubika API library for building self bots.

[![Downloads](https://static.pepy.tech/badge/pyrubi)](https://pepy.tech/project/pyrubi)


<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": "",
    "docs_url": null,
    "requires_python": "~=3.7",
    "maintainer_email": "",
    "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/94/a8/dce587a6fb867771319e1723cdd39a83f926dccce506fdd9a6902175ecab/pyrubi-3.5.1.tar.gz",
    "platform": null,
    "description": "<p align='center'>\r\n    <img src='https://iili.io/HIjPRS9.jpg' alt='pyrubi image' width='270' height=120 class=\"image\">\r\n    <br>\r\n    <b>Fast and powerfull Rubika API library</b>\r\n</p>\r\n\r\n<p align='center'>\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</p>\r\n\r\n\r\n## Pyrubi 3.5.1\r\n> Fast and powerfull Rubika API library for building self bots.\r\n\r\n[![Downloads](https://static.pepy.tech/badge/pyrubi)](https://pepy.tech/project/pyrubi)\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": "",
    "summary": "This is a powerful and easy library for building self bot in the Rubika.",
    "version": "3.5.1",
    "project_urls": {
        "Homepage": "https://github.com/AliGanji1/pyrubi"
    },
    "split_keywords": [
        "rubika",
        "rubino",
        "pyrubi",
        "pyrubika",
        "bot",
        "chat"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8082de392942b98332b1451dbb04a5b29997359344eae22bc077d2ed8eb66dfa",
                "md5": "853e9cdf8d5535998af0e624975d24b4",
                "sha256": "263a26ca9a9fb1040559a8a5536d8ae43c847fece89a5e9ec123fa27373c4ec9"
            },
            "downloads": -1,
            "filename": "pyrubi-3.5.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "853e9cdf8d5535998af0e624975d24b4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "~=3.7",
            "size": 30576,
            "upload_time": "2024-02-11T19:29:51",
            "upload_time_iso_8601": "2024-02-11T19:29:51.040000Z",
            "url": "https://files.pythonhosted.org/packages/80/82/de392942b98332b1451dbb04a5b29997359344eae22bc077d2ed8eb66dfa/pyrubi-3.5.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "94a8dce587a6fb867771319e1723cdd39a83f926dccce506fdd9a6902175ecab",
                "md5": "c95719030a77963339e5c233fcf4cd7a",
                "sha256": "8d7df42ed099c112962d7bf1fdb06a659a7d966324f5c67d83fcbf39b95ab22c"
            },
            "downloads": -1,
            "filename": "pyrubi-3.5.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c95719030a77963339e5c233fcf4cd7a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "~=3.7",
            "size": 28739,
            "upload_time": "2024-02-11T19:29:53",
            "upload_time_iso_8601": "2024-02-11T19:29:53.842253Z",
            "url": "https://files.pythonhosted.org/packages/94/a8/dce587a6fb867771319e1723cdd39a83f926dccce506fdd9a6902175ecab/pyrubi-3.5.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-11 19:29:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "AliGanji1",
    "github_project": "pyrubi",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyrubi"
}
        
Elapsed time: 0.19666s