skillfed

exteragram-alib

A reactive declarative UI and threading utility library for exteraGram / Telegram plugins.

exteragram-alib v1.0.6 83.0K downloads/30d#14,108 on PyPI
Permissive license MIT Active released

What it is and what it does

exteragram-alib is a UI and utility library for building plugins for the exteraGram Android Telegram client. It provides reactive state binding (State class), declarative UI widgets (Label, Button, Field, Toggle, Slider, etc.), layout containers (VBox, HBox, Card), and helper utilities for threading, Java reflection, local JSON storage, event dispatching, and network operations like caching and rate-limiting.

The library is designed to integrate directly into exteraGram's plugin system via the `__requirements__` metadata. Developers use it to construct settings screens and interactive interfaces that automatically update when underlying state changes, without manual UI refresh calls. It abstracts Android UI patterns into Python classes and handles the bridge to the host application's rendering layer.

Use it for:

  • Build settings screens for exteraGram plugins with toggles, sliders, and text fields that react to state changes.
  • Create interactive plugin UIs using declarative widgets and layout containers without direct Android API calls.
  • Manage reactive state across plugin UI components so changes propagate automatically to all bound widgets.
  • Implement plugin-specific dialogs, bottom sheets, and event-driven interactions within the Telegram client.
  • Cache and rate-limit network requests from plugin code using built-in network decorators.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides reactive state management, declarative UI widgets, and threading utilities for building plugins for the exteraGram Android Telegram client.

Yes, if you are developing plugins for the exteraGram Android Telegram client. The library eliminates boilerplate for UI construction and state management specific to that platform. For general-purpose reactive UI or non-exteraGram projects, it is not applicable. No security issues detected and low install friction make it a straightforward add to an exteraGram plugin's dependencies.

Install

exteragram-alib on PyPI

pip

pip install exteragram-alib

uv

uv add exteragram-alib

poetry

poetry add exteragram-alib

Installing exteragram-alib

Before you install

Low install friction with no runtime dependencies. Active maintenance status and recent release history suggest ongoing support.

License in practice

MIT license is permissive, allowing use in commercial and private projects with minimal restrictions.

Quickstart

pip install exteragram-alib

from alib import State, Label, Button, VBox

my_state = State("Initial text")
label = Label(text=my_state)
button = Button(text="Click", on_click=lambda v: my_state.set("Updated"))
ui = VBox(children=[label, button])

Requires Python 3.8 or later; designed for use within exteraGram plugin environment.

Verify before relying

  • Whether the library functions outside the exteraGram plugin context or requires the host application.
  • Performance characteristics with complex UI hierarchies or large state trees.
  • Thread-safety guarantees for concurrent state mutations across multiple listeners.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 52 days since the last release
First released
Downloads 82,999/month — #14,108 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: exteragram_alib-1.0.6-py3-none-any.whl

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Topic :: Software Development :: Libraries :: Application Frameworks

Tags

exteragram plugin ui libraryreactive declarative ui frameworktelegram client plugin developmentandroid ui state managementtelegram plugin utilitiesreactive state bindingdeclarative widget framework
telegram-pluginreactive-uiandroid-development

More Application Frameworks packages