Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Logo

Cacao Accounting

PyPI - License PyPI - Python Version PyPI - Wheel CI Quality Gate Status Coverage Status Docker Repository on Quay Code style: black Code style: Prettier Ruff Gitter

Aplicación contable web y de escritorio para PYMEs que centraliza tesorería, compras, ventas, inventario y contabilidad general.

Estado actual

  • En desarrollo activo en la rama main con base en Python 3.12, Flask y SQLAlchemy.
  • Arquitectura basada en blueprints por módulo: auth, bancos, compras, ventas, inventario, contabilidad, document_flow, imports y más.
  • Soporte inicial de AR/AP, pagos/cobros, conciliación, inventario con valuación, impuestos y reglas fiscales, documentos operativos, importaciones masivas y trazabilidad documental.
  • UI con Alpine.js, smart-select y diseño de formularios transaccionales compartidos.
  • Internacionalización preparada para es y en.
  • Calidad integrada con black, ruff, flake8, mypy, pydocstyle y pytest.

Nota: el proyecto sigue siendo de desarrollo y no está listo para uso en producción.

Características principales implementadas

  • Cuentas por cobrar y cuentas por pagar.
  • Gestión de inventario con Stock Reconciliation y valuación de ajustes.
  • Payment entry con impuestos y cargos visibles, reglas fiscales y aplicación de referencias.
  • Matriz de flujo documental (document_flow) para crear documentos derivados y mantener trazabilidad.
  • Administración de clientes/proveedores con contactos, direcciones, grupos y cuentas por compañía.
  • Motor fiscal unificado para preview y persistencia de reglas fiscales.
  • Proceso de importación masiva de datos y documentos operativos.
  • Revalorización cambiaria auditada y soporte para múltiples libros/ledgers.

Uso recomendado para desarrolladores

  • Crear un entorno virtual: python -m venv .venv
  • Activar el entorno: source .venv/bin/activate
  • Instalar dependencias: pip install -r requirements.txt
  • Para habilitar características en la nube (como validación MIME segura en la subida de archivos), instale las dependencias opcionales: pip install cacao-accounting[cloud]
  • Ejecutar pruebas: CACAO_TEST=True LOGURU_LEVEL=WARNING SECRET_KEY=ASD123kljaAddS python -m pytest -v -s --exitfirst --slow=True

CLI - cacaoctl

cacaoctl es la interfaz de línea de comandos oficial para administrar Cacao Accounting.

# Inicializar la base de datos
cacaoctl db init

# Iniciar servidor de desarrollo
cacaoctl run

# Iniciar servidor de producción (Waitress)
cacaoctl serve

# Ver estado del sistema
cacaoctl status

# Ver configuración activa
cacaoctl config

# Consola interactiva con contexto de la aplicación
cacaoctl shell

Para más detalles, consulta la documentación de cacaoctl.

Demo online

Live demo at:
URL: https://cacao-accounting.onrender.com/login
User: cacao
Password: cacao

Wait to the free render instance to wake up.

Participar en el proyecto

Todos los aportes son bienvenidos. Consulta el archivo CONTRIBUTING para más detalles.

Licencia

Derechos de autor 2024 - 2026 William José Moreno Reyes

Autorizado en virtud de la Licencia de Apache, Versión 2.0 (la "Licencia"); se prohíbe utilizar este archivo excepto en cumplimiento de la Licencia. Podrá obtener una copia de la Licencia en:

http://www.apache.org/licenses/LICENSE-2.0

A menos que lo exijan las leyes pertinentes o se haya establecido por escrito, el software distribuido en virtud de la Licencia se distribuye “TAL CUAL”, SIN GARANTÍAS NI CONDICIONES DE NINGÚN TIPO, ya sean expresas o implícitas. Véase la Licencia para consultar el texto específico relativo a los permisos y limitaciones establecidos en la Licencia.

Release files for cacao-accounting 0.0.1.dev20260722

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

Source distribution (sdist)

Source distribution for cacao-accounting 0.0.1.dev20260722
File Size Uploaded
cacao_accounting-0.0.1.dev20260722.tar.gz 6.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for cacao-accounting 0.0.1.dev20260722
File Interpreter ABI Platform
cacao_accounting-0.0.1.dev20260722-py3-none-any.whl Python 3 none any Details

Total release size: 13.2 MB

Release files / cacao_accounting-0.0.1.dev20260722.tar.gz

Download URL cacao_accounting-0.0.1.dev20260722.tar.gz
Size 6.0 MB
Tags Source
SHA-256 checksum
How to use checksums
28c96b8f38ba962642860bb81484b3e723109d623ec06d4dcb63fa53b60cc61a
BLAKE2b-256 checksum
How to use checksums
70b48f51e96b5d24c8ffa43ec2acd1173e209ecca380ff1a8ea756a47154776b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.

Transparency log

Release files / cacao_accounting-0.0.1.dev20260722-py3-none-any.whl

Download URL cacao_accounting-0.0.1.dev20260722-py3-none-any.whl
Size 7.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2c6edff8d3ec5663d33ecc027928cbbfc4c6661e0fe74a3089766daa3e2fd8f3
BLAKE2b-256 checksum
How to use checksums
49346b84b2fbc22f96866014af6273b8c57eccbc8e13ebfad32346a0940706d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 21, 2026.

Transparency log

Release history Release notifications | RSS feed

This release
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