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 tipoSocialLink. 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
- Repositorio: https://github.com/isidro-rodriguez/acodo
- Documentación: https://isidro-rodriguez.github.io/acodo/
- PyPI: https://pypi.org/project/acodo/
- Plantilla de proyecto: https://github.com/isidro-rodriguez/acodo-template
Licencia
MIT.
Metadata
Release files for acodo 0.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| acodo-0.4.0.tar.gz | 28.3 kB | Without provenance | Details for acodo-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| acodo-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for acodo-0.4.0-py3-none-any.whl |
Total release size: 59.5 kB
Release files / acodo-0.4.0.tar.gz
| Download URL | acodo-0.4.0.tar.gz |
|---|---|
| Size | 28.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ce0db5f11001b08b98f05347b882f33610bf823291d20a5097be351b0d701a7
|
|
BLAKE2b-256 checksum How to use checksums |
96504eda45fa162a6aa9a87e8c12aea5540c01e8b8a08c5ff970b7f8a84df9e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / acodo-0.4.0-py3-none-any.whl
| Download URL | acodo-0.4.0-py3-none-any.whl |
|---|---|
| Size | 31.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
491573deb8443551fec11bbefd50026559564dea9c15a8a301916953970016a2
|
|
BLAKE2b-256 checksum How to use checksums |
6c25be8e9ab33e648c603be1783b41a2a4b36848247b18b8c4882c26e233d70a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for acodo 0.4.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.