Utilidades para entrada y salida en consola
Project description
eii_utils
Módulo utilitario de Python para entrada/salida en consola.
Instalación
pip install eii_utils
Uso básico
from eii_utils import (
leer_entero,
leer_flotante,
leer_texto,
leer_booleano,
leer_rango_enteros,
leer_rango_flotante,
limpiar_consola,
imprimir_titulo_decorado,
imprimir_mensaje,
)
edad = leer_entero("Edad")
nota = leer_rango_flotante("Nota", 0.0, 100.0)
nombre = leer_texto("Nombre")
es_activo = leer_booleano("¿Activo?")
limpiar_consola()
imprimir_titulo_decorado("resultado", largo=30)
imprimir_mensaje(f"Usuario: {nombre}")
imprimir_mensaje("No se pudo guardar", es_error=True)
Publicar en PyPI
- Actualiza la versión en
pyproject.toml. - Genera los artefactos:
python -m pip install --upgrade build twine python -m build
- Verifica los artefactos:
twine check dist/*
- Sube a PyPI:
twine upload dist/*
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
eii_utilitario-0.1.1.tar.gz
(3.2 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 eii_utilitario-0.1.1.tar.gz.
File metadata
- Download URL: eii_utilitario-0.1.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fa190f70019ab3c1929ae535aa4315069e002c6ad3c60e752f351a01017c232
|
|
| MD5 |
44a0d8b0585d25e5946bcbe9461d7819
|
|
| BLAKE2b-256 |
a6d1c8daf893e213fac59715b40942ae1b260881c767ab47b4ee61967934ea3e
|
File details
Details for the file eii_utilitario-0.1.1-py3-none-any.whl.
File metadata
- Download URL: eii_utilitario-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
223230ef0be138af6b737d220b8aafcc4ac66d20a13dd08a7632e5eb050a362e
|
|
| MD5 |
5d9c39a15d06565403e56718d85b1eae
|
|
| BLAKE2b-256 |
ad7389905c26cf65f53c33091808d93d3c234d1a37a0d9e6efc5737af689511b
|