Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
shayanheidari01 authored Dec 4, 2022
1 parent adc1fe1 commit 0843326
Show file tree
Hide file tree
Showing 10 changed files with 1,219 additions and 13 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<br>
<b>Rubika API Framework for Python</b>
<br>
<a href="home">
<a href="https://github.com/shayanheidari01/rubika">
Homepage
</a>
Expand All @@ -29,7 +29,7 @@
``` python
from rubpy import Client

app = Client("my_account")
app = Client("my_account_auth")

@app.Handler
async def hello(message):
Expand All @@ -42,12 +42,12 @@ async def hello(message):
``` python
from rubpy import Client

app = Client("my_account")
app = Client("my_account_auth")

async def hello():
await app.sendMessage(message.get('object-guid'), 'Hello from **Rubpy**!')

app.run(hello())
app.run(hello)

```

Expand All @@ -60,12 +60,12 @@ identity (bot API alternative) using Python.
- **Ready**: Install Rubpy with pip and start building your applications right away.
- **Easy**: Makes the Rubika 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 pycryptodome, ujson and urllib3, a high-performance cryptography library written in C.
- **Fast**: Boosted up by pycryptodome, a high-performance cryptography library written in C.
- **Async**: Fully asynchronous (also usable synchronously if wanted, for convenience).
- **Powerful**: Full access to Rubika's API to execute any official client action and more.

### Installing

``` bash
pip3 install rubpy==4.7.0
```
pip3 install rubpy==5.0.0
```
6 changes: 2 additions & 4 deletions rubpy/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
from .connections.websocket import WebSocket
from .rubika import Client
from .tools import Tools
from .accounts.client import _Client as Client


__version__ = '4.7.0'
__version__ = '5.0.1b'
__author__ = 'Shayan Heidari'
4 changes: 4 additions & 0 deletions rubpy/accounts/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from .client import _Client
from .connections import Connections, WebSocket
from .handler import Message
from .methods import MethodsMaker
Loading

0 comments on commit 0843326

Please sign in to comment.