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

Uploaded Python 3

File details

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

File metadata

  • Download URL: seachad-0.0.3.tar.gz
  • Upload date:
  • Size: 4.6 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.3.tar.gz
Algorithm Hash digest
SHA256 24fd59231f24091b1cfd695cf2a60b59e9128be101932932f54173d9482d4b5a
MD5 1c440080bcd01986797fd94dfb80ff68
BLAKE2b-256 8a7ffba51da6766460f1f36cb6be8bbe9c65349b752bdae2389735ccff180a17

See more details on using hashes here.

File details

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

File metadata

  • Download URL: seachad-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 6.3 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d2f3fc6e57c41b3e9dcbbcbf74c0525d4d04937d4f28a9484f6910755404df05
MD5 bd68dea4034aab9beb63969cd531cf27
BLAKE2b-256 85654934a0b6f370f0a43f5136e1b3ff885438f3958a5965c496dbb4f0ba8746

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