Skip to main content

IRubix

کتابخانه‌ای سبک برای ساخت ربات در روبیکا، بله، سروش‌پلاس و تلگرام با Python و async/await.

نصب

python -m pip install --upgrade irubix

برای نصب آخرین نسخه مخزن:

python -m pip install --upgrade git+https://github.com/adminVIPZEXNET/irubix.git

شروع سریع

فقط ماژول پیام‌رسان و توکن همان ربات را انتخاب کنید.

روبیکا

from irubix import rubika

bot = rubika.IRubix("BOT_TOKEN")

@bot.command("start")
async def start(bot, event):
    await event.reply("سلام! ربات فعاله.")

bot.run()

بله

from irubix import bale

bot = bale.IRubix("BOT_TOKEN")

@bot.command("start")
async def start(bot, event):
    await event.reply("سلام! ربات فعاله.")

bot.run()

سروش‌پلاس

from irubix import soroush

bot = soroush.IRubix("BOT_TOKEN")

@bot.command("start")
async def start(bot, event):
    await event.reply("سلام! ربات فعاله.")

bot.run()

تلگرام

from irubix import telegram

bot = telegram.IRubix("BOT_TOKEN")

@bot.command("start")
async def start(bot, event):
    await event.reply("سلام! ربات فعاله.")

bot.run()

مستندات

پیام‌رسان راهنما متدها
روبیکا شروع سریع فهرست متدها
بله شروع سریع فهرست متدها
سروش‌پلاس شروع سریع فهرست متدها
تلگرام شروع سریع فهرست متدها

ساختار پروژه

irubix/
├── __init__.py       # ورودی اصلی کتابخانه
├── bot.py            # کلاینت روبیکا
├── _update.py        # بررسی نسخه جدید
├── bale/             # کلاینت بله
├── soroush/          # کلاینت سروش‌پلاس
└── telegram/         # کلاینت تلگرام

docs/                 # مستندات
examples/             # نمونه‌کدها
tests/                # تست‌ها

نکات

  • تمام درخواست‌های API به‌صورت async اجرا می‌شوند.
  • هسته کتابخانه به کتابخانه جانبی نیاز ندارد.
  • هر پیام‌رسان فقط API و قابلیت‌های رسمی خودش را ارائه می‌کند.
  • برای غیرفعال‌کردن بررسی نسخه جدید، متغیر محیطی IRUBIX_DISABLE_UPDATE_CHECK=1 را تنظیم کنید.

اجرای تست‌ها

python -m unittest discover -s tests -v

مجوز

MIT

Metadata

Release files for irubix 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for irubix 0.9.0
File Size Uploaded Provenance Actions
irubix-0.9.0.tar.gz 16.5 kB Without provenance Details for irubix-0.9.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for irubix 0.9.0
File Interpreter ABI Platform Actions
irubix-0.9.0-py3-none-any.whl Python 3 none any Details for irubix-0.9.0-py3-none-any.whl

Total release size: 35.3 kB

Release files / irubix-0.9.0.tar.gz

Download URL irubix-0.9.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
c600aac9008621949cb49cd3732452ce972d60ab1176f0595b3572536fa81aef
BLAKE2b-256 checksum
How to use checksums
ea542c9159700dbcfe123a3c540847d99678e1bf4d395f8cd6dac3a5e328d0bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Release files / irubix-0.9.0-py3-none-any.whl

Download URL irubix-0.9.0-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
018c317d9421a6784ec8047c8aaf789ee58c7ab61af60a8800c3e53dccc1e4ce
BLAKE2b-256 checksum
How to use checksums
a920cf35e79eedd35d97f560c7f8ab2fa89b01a31285f22e41d15617b742c5d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.7

Security for irubix 0.9.0

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page