Better Terminal
Uma biblioteca Python para criar interfaces dinâmicas e interativas no terminal de forma simples e eficiente. Utiliza threading para facilitar a mudança em tempo real e de forma inteligente o terminal.
Recursos principais
Terminal
- ScreenBuffer - Controle total de renderização no terminal.
- TerminalApp - Gerenciador principal da aplicação no terminal.
Widgets
- BaseWidget - Classe base para criar componentes personalizados.
- TextWidget - Exibição e manipulação de texto. (One-Liner)
Instalação
pip install betterterminal
Ou instale localmente.
Exemplo Básico de Uso
from betterterminalcli.core.terminal_app import TerminalApp
from betterterminalcli.widgets.text_widget import TextWidget
import time
app = TerminalApp()
text = TextWidget("Hello, Better Terminal!", x=5, y=5)
app.add_widget(text)
app.start()
time.sleep(3)
text.change_text("I changed my text!")
time.sleep(3)
app.stop()
Planos Futuros
Em ordem, as futuras atualizações devem conter:
- Adição de widgets mais complexos (barras de progresso, tabelas, menus interativos).
- Sistema de eventos e callbacks para widgets.
- Suporte estendido para diferentes terminais e cores.
- Sistema de suporte para animações
Licença
MIT License © 2025 Mauricio Reisdoefer
Metadata
Release files for betterterminalcli 0.1.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 | |
|---|---|---|---|
| betterterminalcli-0.1.1.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| betterterminalcli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.8 kB
Release files / betterterminalcli-0.1.1.tar.gz
| Download URL | betterterminalcli-0.1.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1cbccbd60c32a447e181e0962f19d5dab627315d4dd6f57a01eef1501e2d844
|
|
BLAKE2b-256 checksum How to use checksums |
b631cd79e4e62dabbc6b0a1dccb19de97a65a925603cff3ac2fab5d5c13efd28
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / betterterminalcli-0.1.1-py3-none-any.whl
| Download URL | betterterminalcli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92813e05c7dba2955d1cdbf74980191ae1d97ed3838e3586c03695d54428e032
|
|
BLAKE2b-256 checksum How to use checksums |
1e52063d961d959a1df4561ff817c8636b84014ccf4308e07a610f09645b99a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|