Skip to main content

caler-bale

Advanced keyboard helpers for Bale bots.

Features

  • callback buttons
  • url buttons
  • inline query buttons
  • selector keyboards
  • toggle rows
  • pager keyboards
  • confirm/cancel keyboards
  • social rows
  • menu keyboard adapter
  • dict serialization
  • bale adapters
  • ergonomic chaining

Example

from caler_bale import Button, ButtonStyle, Keyboard

kb = (
    Keyboard()
    .add_row(
        Button.callback("شروع", "start", style=ButtonStyle.ROCKET, icon="🚀"),
        Button.url_button("وب‌سایت", "https://example.com", style=ButtonStyle.INFO, icon="🌐"),
    )
    .add_row(
        Button.inline_query("جستجو", "hello", style=ButtonStyle.GHOST, icon="🔎"),
        Button.callback("حذف", "delete", style=ButtonStyle.DANGER, icon="🗑️"),
    )
)

print(kb.to_dict())

Metadata

Release files for caler-bale 0.1.2

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

Source distribution (sdist)

Source distribution for caler-bale 0.1.2
File Size Uploaded Provenance
caler_bale-0.1.2.tar.gz 6.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for caler-bale 0.1.2
File Interpreter ABI Platform
caler_bale-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 15.3 kB

Release files / caler_bale-0.1.2.tar.gz

Download URL caler_bale-0.1.2.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ac6d84b20f8f484df91ea3fed5ec56ad5c90dce84711390d3adb989efe5b0f57
BLAKE2b-256 checksum
How to use checksums
706d8be8f2fc2f64e7fa58d37d1c830b7b2b20404e17db174cc0321e1756df03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / caler_bale-0.1.2-py3-none-any.whl

Download URL caler_bale-0.1.2-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b66c4892bd339b2b384e2a196015d57528d247d0abdd911cd5942146bdbd4278
BLAKE2b-256 checksum
How to use checksums
06c92b80e6273d28a58a713ef16ca578441fec9701f4cda202e0c45558dea951
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Security for caler-bale 0.1.2

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.

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