Skip to main content

Imprime mensagens com cores personalizadas no terminal

Project description

Console Msg

Descrição.
O pacote console-msg é utilizado para: - Exibir mensagens personalizadas no terminal - Mensagem de erro (vermelho) - Mensagem de sucesso (verde) - Mensagem de alerta (amarelo) - Mensagem de informação (azul)

Instalação

Use o gerenciador de pacotes pip para instalar nome_do_pacote

pip install console-msg

Uso

from console-msg.alert_msgs import *

almsg("Alerta")
imsg("informação")
smsg("Sucesso")
emsg("Erro")

img1

from console-msg.alert_msgs import *

almsg("Alerta", BGColor.BLUE)
imsg("informação", BGColor.YELLOW))
smsg("Sucesso", BGColor.RED)
emsg("Erro", BGColor.CYAN)

img2

Autor

JB Silva

Licença

MIT

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

console_msg_jb-1.0.2.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

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

console_msg_jb-1.0.2-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file console_msg_jb-1.0.2.tar.gz.

File metadata

  • Download URL: console_msg_jb-1.0.2.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for console_msg_jb-1.0.2.tar.gz
Algorithm Hash digest
SHA256 55f064983ae7b9891a43f552a32f87e0aa16135915f6f06ed6752cee7f28bb6e
MD5 2e498e03a6f61fa71949eba6751d9220
BLAKE2b-256 0d8d6efa128d47ae6f5a76a2d8783cb4aeef6619702c336424c642373a89bf9c

See more details on using hashes here.

File details

Details for the file console_msg_jb-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: console_msg_jb-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.1

File hashes

Hashes for console_msg_jb-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eba1a4aef95e1f173113c48aff350f61ca64ff20777138ad24a5b1d719f2cf51
MD5 a6222ddf936e5d3cab7f075ffb675c0d
BLAKE2b-256 1f08d9c472b8d2b46f4ea7a68a4d3ec529bc36e6be456b8a90bc26fc1ec628d9

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