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.1.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.1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: console_msg_jb-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 6b672a5352309b3427941d857d63e4886b8241214a3015d6f709f69afd54b4d4
MD5 dd91502ffa4a12f6cb8b77ee891b0d14
BLAKE2b-256 6d1ab65fd414c3977ab2756628a68a1f1091d6c9c980d3e26caae8e76eae2eec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: console_msg_jb-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 636ad0216735b15b7717e0868ae527a3038368b8e6172b912efaa21dcfcccece
MD5 88486248060882da56463f951d62a114
BLAKE2b-256 44b77768e4d588d221d0001efd110d312b80abd11b688d0e6f8ec51bb25b81f7

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