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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cb4b856375d8112b0bc815e89583f6697790ddfd5c75f7675a82cf7776ba691
|
|
| MD5 |
4c84adcced16a2bd0801d673cbcc5a21
|
|
| BLAKE2b-256 |
9f3547b67f51e11dc16c173be99a03f991024b3a549690652005237dcafa60bc
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf16ab1e999d625ce4c71a9c00ee082c153e974992b56d34a56ba96c33c7454d
|
|
| MD5 |
d8904e1f2af0dd6ae9277ee35b98e819
|
|
| BLAKE2b-256 |
ac6e3c6a254eeb7ac8ab92eaf6f151f8f75d2d3e8e7db9441a5aaa4617562045
|