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
from rubpy import Client
app = Client('MY-AUTH')
@app.handler
async def my_bot(bot, message):
await message.reply('``Hello`` __from__ **Rubpy**!')
Another example:
from rubpy import Client
app = Client("my_account_auth")
async def my_bot(bot):
await bot.sendText('object_guid', '``Hello`` __from__ **Rubpy**!')
app.run(my_bot)
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 rubpy==5.1.0b90
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
rubpy-5.1.0b90.tar.gz
(13.8 kB
view hashes)