This is an unofficial library and fastest library for deploying robots on Rubika accounts.
Project description
Rubika API Framework for Python
Homepage
•
Documentation
•
Releases
•
News
Rubpy
Elegant, modern and asynchronous Rubika API framework in Python for users and bots
Accounts
import asyncio
from rubpy import Client, handlers
async def main():
async with Client(session='rubpy') as client:
@client.on(handlers.MessageUpdates())
async def updates(update):
await update.reply('`hello` __from__ **rubpy**')
await client.run_until_disconnected()
asyncio.run(main())
Another example:
from rubpy import Client
from asyncio import run
async def main():
async with Client(session='rubpy') as client:
result = await client.send_message('GUID', '`hello` __from__ **rubpy**')
print(result)
run(main())
Rubpy is a modern, elegant and asynchronous framework. It enables you to easily interact with the main Rubika API through a user account (custom client) or a bot identity (bot API alternative) using Python.
Key Features
- 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, 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
pip3 install -U rubpy
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rubpy-6.1.5.tar.gz.
File metadata
- Download URL: rubpy-6.1.5.tar.gz
- Upload date:
- Size: 29.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1e2c0d83d9f3a260285146c11d9e918b1a7e1621e6d6db5324d1498cea9dd12b
|
|
| MD5 |
88772a5360f5b2274319c083f91471d0
|
|
| BLAKE2b-256 |
d037b1f343fcdf9d2f3cad9ca3c4f5e7325a990d8c84d1d248be5037330e6c5d
|