rubmix
یک کتابخانه برای تبدیل کیبورد های روبکا به روبپای سازنده روبکا: Mehdi Ahmadi | https://github.com/Mahdy-Ahmadi سازنده روبپای: Shayan Heidari | https://github.com/shayanheidari01 *** اگر ناراضی هستید به @Erfan_mirdehghan در روبیکا پیام دهید *** این دو کتابخانه به همراه این نصب می شوند
نصب
pip install rubmix
استفاده
#برای تبدیل کردن کیبورد های روبکا به روبپای
from rubmix import converter
# اگر خواستید می توانید برای ساخت کیبورد از بیلدر روبکا که در روبمیکس هست استفاده کنید
from rubmix import builders
# به این شکل باید ازش استفاده کنید
builders.InlineBuilder
# یا میتوانید از خود بیلدر روبکا استفاده کنید
from rubka.button import InlineBuilder
#یک تابع بر ای تبدیل کردن میسازیم
def conv(keyboard):
return converters.rubmix_to_keypad(keyboard)
#ساخت خود کیبورد با روبکا
inline = (
InlineBuilder()
.row(
InlineBuilder().button_textbox(
id="enter_name",
title="📝 وارد کردن نام",
type_line="SingleLine",
type_keypad="String",
place_holder="نام خود را وارد کنید...",
default_value=""
)
)
.build()
)
#تست ارسال
@bot.on_update()
def main(bot,m: Update):
m.reply("hi",inline_keypad=conv(inline))
اگر پیشنهادی دارید یا باگ دیدید، خوشحال میشم issue بزنید 🌱
Metadata
Release files for rubmix 1.0.1
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 |
|---|---|---|---|---|
| rubmix-1.0.1.tar.gz | 5.4 kB | Without provenance | Details for rubmix-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rubmix-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for rubmix-1.0.1-py3-none-any.whl |
Total release size: 11.4 kB
Release files / rubmix-1.0.1.tar.gz
| Download URL | rubmix-1.0.1.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
63ec956b3eee2ca94cb9e5f139c8c4fe43f330a03f653c72b49f42668009536d
|
|
BLAKE2b-256 checksum How to use checksums |
cf303a2150b43c3ed439f6724b724baab5b00d1d65f07b0352e0a9dd0f83ecb2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Release files / rubmix-1.0.1-py3-none-any.whl
| Download URL | rubmix-1.0.1-py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4423f9fbb70d2572cb6e8d20167303415f8501bf57ae82d6d66ac9ae1c7bdcf5
|
|
BLAKE2b-256 checksum How to use checksums |
25d5fc094fd5a338897d5c277f8819e82befe6344eccc05bae46af6389418c88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.5
|
Security for rubmix 1.0.1
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.