Skip to main content

Uma biblioteca leve para adicionar botões a CLI do python

Project description

CliButtons 🥕

O CliButtons é uma biblioteca leve e poderosa para criar interfaces interativas de botões diretamente no seu terminal, otimizada para dispositivos Android e Pydroid.

Por que usar CliButtons?

Desenvolvido pensando em desenvolvedores mobile que sofrem com o teclado virtual subindo toda hora! O CliButtons lida com os sinais do terminal para garantir uma experiência de jogo ou aplicação limpa e funcional.

Instalação

pip install clibuttons

Como usar

from clibuttons import CliButtons

# Inicializa o sistema
app = CliButtons()

# Cria um botão
app.makebutton("JOGAR", lambda: print("Botão clicado!"), "btn1")
app.setbuttonposition("btn1", 5, 5)

# Renderiza e escuta os cliques
app.render()
app.listen_clicks()

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

clibuttons-0.1.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

clibuttons-0.1.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clibuttons-0.1.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for clibuttons-0.1.1.tar.gz
Algorithm Hash digest
SHA256 a5a67420a3f42ceb788745bec4eeac0ac3d7a2e1519b48978495694a8c72be86
MD5 26790eb66ce48d19d3e21efca7521520
BLAKE2b-256 d03a256d05a4e80472b3ddc29e357dbc0724f9545dffde1b22a2aa01d7dc2bd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clibuttons-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for clibuttons-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c91272bb8d740e7854fc58c99b3e3e99e183f7c6de9cc18b6b2a05c74ed3b8b
MD5 94fdff6f9af0eb475be610eb53076363
BLAKE2b-256 70ea417c6b647f0a9f66e3511474c3eb8caf58f8f1db7330ae44ff9aed096a64

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