Rubpy
Asynchronous & elegant Python framework for the Rubika API
🏠 Homepage •
📘 Documentation •
📦 Releases •
🗞 News
🌟 Rubpy
Modern. Elegant. Asynchronous.
A clean Pythonic interface to interact with Rubika's API — for both users and bots.
🚀 Async Example
from rubpy.bot import BotClient, filters
app = BotClient("bot_token")
@app.on_update(filters.private)
async def hello(client, message):
await message.reply("Hello from Rubpy!")
app.run()
🚀 Async Example
from rubpy import Client, filters
from rubpy.types import Update
bot = Client(name='rubpy')
@bot.on_message_updates(filters.text)
async def updates(update: Update):
print(update)
await update.reply('`hello` __from__ **rubpy**')
bot.run()
Minimal Async:
from rubpy import Client
import asyncio
async def main():
async with Client(name='rubpy') as bot:
result = await bot.send_message('me', '`hello` __from__ **rubpy**')
print(result)
asyncio.run(main())
⚡ Sync Example
from rubpy import Client
bot = Client('rubpy')
@bot.on_message_updates()
def updates(message):
message.reply('`hello` __from__ **rubpy**')
bot.run()
Minimal Sync:
from rubpy import Client
with Client(name='rubpy') as client:
result = client.send_message('me', '`hello` __from__ **rubpy**')
print(result)
✨ Why Rubpy?
- 📦 Ready — Install with pip and start instantly
- 🧠 Easy — Clean, intuitive, and beginner-friendly
- 💅 Elegant — Beautifully abstracted low-level details
- 🚀 Fast — Powered by high-performance
pycryptodome - 🔁 Async First — Full async design, with sync support
- 💪 Powerful — Everything the official client can do — and more
📦 Installation
pip install -U rubpy
📣 Stay Connected
Metadata
Release files for rubpy 7.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| rubpy-7.3.5.tar.gz | 116.4 kB | Without provenance | Details for rubpy-7.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rubpy-7.3.5-py3-none-any.whl | Python 3 | none | any | Details for rubpy-7.3.5-py3-none-any.whl |
Total release size: 304.2 kB
Release files / rubpy-7.3.5.tar.gz
| Download URL | rubpy-7.3.5.tar.gz |
|---|---|
| Size | 116.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a35067f0c397c0fae02b5a4ddfad985d6d3b2f59af65b06a4f7473c8cf9af3e3
|
|
BLAKE2b-256 checksum How to use checksums |
8611623097cb4c53ad0d063204dbc6eda1f04941ca75ab19f028f04f1ea01503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Release files / rubpy-7.3.5-py3-none-any.whl
| Download URL | rubpy-7.3.5-py3-none-any.whl |
|---|---|
| Size | 187.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
322c8d794382b400ef1b067518a5935283998f4d786ff9d054ed40f82897ec91
|
|
BLAKE2b-256 checksum How to use checksums |
306f29428b3377a59118d67d134e4dfd026981d846b8fafc05c3f5a9c1111a6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.3
|
Security for rubpy 7.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.