exteragram-alib
A reactive declarative UI and threading utility library for exteraGram / Telegram plugins.
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-alibuv
uv add exteragram-alibpoetry
poetry add exteragram-alibInstalling 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
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
KangelPluginsManagerManages and distributes plugins for exteraGram…
permissive · top 15,000 on PyPI
prefab-uiPrefab is a Python UI framework for building…
permissive · top 15,000 on PyPI
reactonReacton provides a React-like component model…
permissive · top 15,000 on PyPI
KurigramKurigram is an asynchronous Python framework…
copyleft · top 15,000 on PyPI
aiogramaiogram is an asynchronous Python framework for…
permissive · top 5,000 on PyPI
PyrogramPyrogram is an asynchronous Python framework…
copyleft · top 15,000 on PyPI
uiautomatorPython wrapper for Android's uiautomator…
permissive · top 15,000 on PyPI
streamlit-cardA Streamlit component that renders interactive…
permissive · top 15,000 on PyPI
cryptgcryptg provides a native Python extension that…
permissive · top 15,000 on PyPI
streamlit-toggle-switchAdds a customizable toggle switch component to…
unclear · top 15,000 on PyPI