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.7.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.7.0
File Size Uploaded Provenance Actions
acodo-0.7.0.tar.gz 30.0 kB Without provenance Details for acodo-0.7.0.tar.gz

Built distribution (wheel)

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

Total release size: 63.1 kB

Release files / acodo-0.7.0.tar.gz

Download URL acodo-0.7.0.tar.gz
Size 30.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e64858e0f8529bbb5bd08693a48bf9bf2be3561445c7a28629db0573ddd13096
BLAKE2b-256 checksum
How to use checksums
0cb01bf8c234ca7821cfe4d8ec3c4b109dc379fbb3db0213f3caa4db527c8b1c
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.7.0-py3-none-any.whl

Download URL acodo-0.7.0-py3-none-any.whl
Size 33.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d016563564e4a335e19957700bf87875cf1efc1fd01b0af4259d16bdf3d6cd9f
BLAKE2b-256 checksum
How to use checksums
719c9e695cc9124fef5aba9d3b696818142d306be11edadd4140e6059a2720e0
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.7.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