Skip to main content

acodo

Biblioteca de utilidades de Acodo para Python >= 3.13. No tiene dependencias externas: solo usa la biblioteca estándar.

Antes se publicaba como acodo-framework; ese nombre queda obsoleto.

🚀 Instalación

Desde PyPI:

uv add acodo

🛠️ Uso

from acodo.logger import Logger
from acodo.utils import to_bool, valid_email

to_bool("sí")  # True
valid_email("hola")  # False

log = Logger("miapp")
log.info("Procesando %(n)s ficheros", n=3)

📦 Módulos

  • acodo.utils: funciones agrupadas por prefijo (get_*, has_*, parse_*, to_*, valid_*) y el tipo SocialLink. Convenciones y errores en el docstring del paquete.
  • acodo.logger: Logger; consola y/o fichero con rotación diaria.

acodo.logger depende de acodo.utils, nunca al revés.

📁 Estructura

src/acodo/
├── utils/
│   ├── checkers.py       # has_*
│   ├── converters.py     # to_*
│   ├── getters.py        # get_*
│   ├── parsers.py        # parse_*
│   ├── types.py          # SocialLink
│   └── validators.py     # valid_*
└── logger/
    └── logger.py         # Logger

🧪 Desarrollo

uv sync
uv run ruff format .
uv run ruff check .
uv run ty check
uv run pytest

Con Poe the Poet instalado globalmente (uv tool install poethepoet) hay atajos definidos en pyproject.toml; no es dependencia del proyecto. poe sin argumentos lista las tareas:

Tarea Qué hace
poe check Formato, lint, tipos y tests (lo mismo que la CI)
poe fix Aplica el formato y las correcciones de Ruff
poe cov Tests con informe de cobertura
poe docs Vista previa local de la documentación
poe docs-build Construye la documentación en site/
poe backup Copia de seguridad con git bundle (*.bundle)

Los hooks de pre-commit cubren formato, lint, tipos y tests; la etapa pre-push añade cobertura y la construcción de la documentación, que vive en docs/ y se genera con Zensical (uv run zensical serve / uv run zensical build).

Enlaces

Licencia

MIT.

Metadata

Release files for acodo 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for acodo 0.5.0
File Size Uploaded Provenance Actions
acodo-0.5.0.tar.gz 29.0 kB Without provenance Details for acodo-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for acodo 0.5.0
File Interpreter ABI Platform Actions
acodo-0.5.0-py3-none-any.whl Python 3 none any Details for acodo-0.5.0-py3-none-any.whl

Total release size: 61.0 kB

Release files / acodo-0.5.0.tar.gz

Download URL acodo-0.5.0.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ee33f98d92ed2e4cc75adf66c863b9368183d40f7dccbe79d0216d02c0914eed
BLAKE2b-256 checksum
How to use checksums
45da680d1936f62c864671350f9f9922a6b2d1b597601b1bed46d8755a7438ba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / acodo-0.5.0-py3-none-any.whl

Download URL acodo-0.5.0-py3-none-any.whl
Size 32.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ec9551463d6ca04a3694ebf9407fda139d79c22214fe5fca3f9d951dc084d9c2
BLAKE2b-256 checksum
How to use checksums
54693b9158d3b7b90177ff809fcc46de547264f3bf915725e33eb324d054c1aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for acodo 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page