Metadata-Version: 2.4
Name: RupaBik
Version: 1.0.1
Summary: A clean, simple self/userbot client library for Rubika and Shad.
Author: Ebrahim Shakibapour
License: MIT License
        
        Copyright (c) 2026 Ebrahim Shakibapour
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/robobot-library/Rupabik
Project-URL: Source, https://github.com/robobot-library/Rupabik
Project-URL: Docs Channel, https://rubika.ir/RupaBik
Keywords: rupabik,rubika,shad,self,userbot,client,asyncio
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Framework :: AsyncIO
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: aiohttp
Requires-Dist: aiofiles
Requires-Dist: pycryptodome
Requires-Dist: rich
Provides-Extra: audio
Requires-Dist: mutagen; extra == "audio"
Provides-Extra: opencv
Requires-Dist: opencv-python; extra == "opencv"
Provides-Extra: movie
Requires-Dist: numpy; extra == "movie"
Requires-Dist: moviepy; extra == "movie"
Provides-Extra: pillow
Requires-Dist: pillow; extra == "pillow"
Provides-Extra: full
Requires-Dist: mutagen; extra == "full"
Requires-Dist: opencv-python; extra == "full"
Requires-Dist: numpy; extra == "full"
Requires-Dist: moviepy; extra == "full"
Requires-Dist: pillow; extra == "full"
Dynamic: license-file

# RupaBik

A clean, simple self/userbot client library for **Rubika** and **Shad**.

RupaBik is a full rewrite of the self-client side of the old `maxrubika`
library: same working core (session, encryption, request handling), a much
simpler package layout, no token-bot framework, and no legacy baggage.

```python
from rupabik import Client

client = Client("my_account", auth="...", private_key="...")
client.send_message("me", "Hello from RupaBik!")
```

Every method on `Client` is async under the hood, but RupaBik detects
whether an event loop is already running. Call it plainly like above in a
normal top-level script and it just works. Inside an event handler (where a
loop is already running), use `await`:

```python
from rupabik import Client, filters

client = Client("my_account")

@client.on_message(filters.Text())
async def handler(event):
    await event.reply("pong!")

client.run()
```

- Author: **Ebrahim Shakibapour**
- Github: https://github.com/robobot-library
- Rubika & Telegram: **@web_iran**
- Docs channel: **@RupaBik**

## Install

```bash
pip install -U RupaBik
```

Requires Python >= 3.9.

## Status

This is version `1.0.1`. Full method-by-method documentation is being
rebuilt; in the meantime every method carries its own docstring with
parameters and an example.
