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 console-msg-jb

pip install console-msg-jb

Uso

from console_msg_jb.alert_msgs import *
# or 
# from console_msg_jb.alert_msgs import emsg, imsg, smsg, almsg

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

img1

from console_msg_jb.alert_msgs import *
# or 
# from console_msg_jb.alert_msgs import emsg, imsg, smsg, almsg, BGColor

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.3.tar.gz (2.1 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.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: console_msg_jb-1.0.3.tar.gz
  • Upload date:
  • Size: 2.1 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.3.tar.gz
Algorithm Hash digest
SHA256 b82718fdf46db116087894fdb54231a79e98bcfebf2701c907afb1402c03dcaf
MD5 d2df4533fca25268c26adf15f6197ad9
BLAKE2b-256 d4c825f2c64b1508e30f32951db4e13bf2c94e3fe552c4cb92c796b59b062164

See more details on using hashes here.

File details

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

File metadata

  • Download URL: console_msg_jb-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.4 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 27603eae95cdb1a93423c69702ec90bf21f244f34d8877d9eba0ad747546d3c3
MD5 74b20cfda24dbc10845cf0c4fbc4125f
BLAKE2b-256 b99cdac3bdfd0ae6ab114305f92606ccbecf502843a3d881db0a5aaecf2e9a66

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