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.2.tar.gz
(4.6 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.2.tar.gz.
File metadata
- Download URL: seachad-0.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89b5478d2e9aba8bb5a269832de5db32f6d1d84500ed93e15c697ce9fe616d7a
|
|
| MD5 |
cdd2d0fe6057b8574ab16b3953deb98e
|
|
| BLAKE2b-256 |
d5dd7f36627a35768cb4ce67adf632f52977311f8e9c46192d9e923f34f490a9
|
File details
Details for the file seachad-0.0.2-py3-none-any.whl.
File metadata
- Download URL: seachad-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.2 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 |
e06ff5a2edb9e25862415aef361728259b865342d186f95826538757bdc54536
|
|
| MD5 |
6a073726543837f35d0aba281356548f
|
|
| BLAKE2b-256 |
20b47dd0294185f7b756e5d179d666c8648a7bf3401bfaee76db1afd5ceac5e0
|