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.1

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.1
File Size Uploaded Provenance Actions
acodo-0.5.1.tar.gz 29.1 kB Without provenance Details for acodo-0.5.1.tar.gz

Built distribution (wheel)

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

Total release size: 61.0 kB

Release files / acodo-0.5.1.tar.gz

Download URL acodo-0.5.1.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cbf974de68198aae60f0ec3fc389fc310149591a1a653acc91b0d86b6316945c
BLAKE2b-256 checksum
How to use checksums
51608470a5241b3b6073b8023124bf52f95cd58497de3b14c601b2113ad2de87
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.1-py3-none-any.whl

Download URL acodo-0.5.1-py3-none-any.whl
Size 32.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
01773ebb07195c376d697871660e2e260f84bb695d9b958bf97179f86862cc51
BLAKE2b-256 checksum
How to use checksums
61c6958e813cf4b4e591d6df85bc1cc523c9602fcbff3847a58792a8e91933f3
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.1

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