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.6.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.6.0
File Size Uploaded Provenance Actions
acodo-0.6.0.tar.gz 29.4 kB Without provenance Details for acodo-0.6.0.tar.gz

Built distribution (wheel)

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

Total release size: 61.6 kB

Release files / acodo-0.6.0.tar.gz

Download URL acodo-0.6.0.tar.gz
Size 29.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3ff752b77686bbfdb981487905d464d360c0859ccb9cfdf04ea9c285b79b333d
BLAKE2b-256 checksum
How to use checksums
3863f87c3cb2e3690e11b6c15e1c350972a8fbe71bce82a5de245e688b277507
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.6.0-py3-none-any.whl

Download URL acodo-0.6.0-py3-none-any.whl
Size 32.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d5a01e206c105b6ec9db92f0c5e48e5bc9412eafcc8917617589cdb329969f3
BLAKE2b-256 checksum
How to use checksums
c3b852768d702464263deef8c94809693dadfc0d320d1a2dce7c12088ac2e516
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.9 {"installer":{"name":"uv","version":"0.13.9","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.6.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