Skip to main content

Ejemplo de como crear un paquete

Project description

Una librería de ejemplo para demostrar cómo subir un paquete a PyPI.

Allows print with colors

Very easy!!!

>>> import terminal_colors as tc

tc._print(f"{tc.Y}Print in rellow, {tc.G}print in green, {tc.B}, print in blue")
tc._print(f"print in yellow", tc.Y)
tc._print(f"print without marks", time_and_module_mark=False)


def test_print():
    # utilizando el HELPER
    tc._print("Hola mundo", tc.B) # imprimirá por defecto en CYAN con BRIGHT (así sabemos que se está usando esta función por defecto)
    tc._print(f"{tc.Y}Hola {tc.R}mundo") # imprimirá en AZUL sobre ROJO en BRIGHT
    tc._print("Hola mundo", tc.W) # vuelve a imprimir en CYAN con BRIGHT (así sabemos que se está usando esta función por defecto)
    
    # utilizando las primitivas
    tc.print_in_color(tc.fg.BLUE+tc.bg.RED+tc.style.BRIGHT)
    tc.print("Show me your color")    
    tc.print_in_color(tc.fg.WHITE)    
    tc.print( "All following prints will be WHITE ...")
    tc.print( "continues WHITE...")
    tc.print_in_color()    
    tc.print( "Now default color")

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

seachad-0.0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

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

seachad-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file seachad-0.0.1.tar.gz.

File metadata

  • Download URL: seachad-0.0.1.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.0

File hashes

Hashes for seachad-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9cb4b856375d8112b0bc815e89583f6697790ddfd5c75f7675a82cf7776ba691
MD5 4c84adcced16a2bd0801d673cbcc5a21
BLAKE2b-256 9f3547b67f51e11dc16c173be99a03f991024b3a549690652005237dcafa60bc

See more details on using hashes here.

File details

Details for the file seachad-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: seachad-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.0

File hashes

Hashes for seachad-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cf16ab1e999d625ce4c71a9c00ee082c153e974992b56d34a56ba96c33c7454d
MD5 d8904e1f2af0dd6ae9277ee35b98e819
BLAKE2b-256 ac6e3c6a254eeb7ac8ab92eaf6f151f8f75d2d3e8e7db9441a5aaa4617562045

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