Skip to main content

Uma biblioteca para facilitar interfaces no terminal com menus, formulários, tabelas, logs coloridos e mais.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

betterterminalcli-0.1.1.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

betterterminalcli-0.1.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file betterterminalcli-0.1.1.tar.gz.

File metadata

  • Download URL: betterterminalcli-0.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for betterterminalcli-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e1cbccbd60c32a447e181e0962f19d5dab627315d4dd6f57a01eef1501e2d844
MD5 7c037d968c4ad95f348966b9f71e9bfd
BLAKE2b-256 b631cd79e4e62dabbc6b0a1dccb19de97a65a925603cff3ac2fab5d5c13efd28

See more details on using hashes here.

File details

Details for the file betterterminalcli-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for betterterminalcli-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 92813e05c7dba2955d1cdbf74980191ae1d97ed3838e3586c03695d54428e032
MD5 5ccdb29ccc9e3553cfb22bfb8dfcb9cb
BLAKE2b-256 1e52063d961d959a1df4561ff817c8636b84014ccf4308e07a610f09645b99a1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page