PyVELM¶
Odoo semantics, Laravel ergonomics, and a Tailwind + HTMX shell in Python.
PyVELM is a declarative framework for building ERP-style business apps with:
- Odoo-like recordsets and module lifecycle
- Fluent model, view, and menu declarations
- FastAPI + Jinja runtime on SQLAlchemy-backed databases (PostgreSQL, SQLite, MySQL/MariaDB, SQL Server, Oracle, and other supported dialects)
Start here¶
If you are new, follow this order:
- Getting started - scaffold, boot, and install your first module.
- Learning path - a practical day-by-day route for your first week.
- Declaring models - fields, relations, computed fields, and query patterns.
- Building UIs - list/form/kanban/detail views with fluent builders.
- Modules and Migrations - versioning and safe deploy flow.
- Security and Deployment - production basics.
If you already know the concepts and need exact signatures, jump to API reference.
Quick start¶
From PyPI (new app):
From this source repository:
git clone https://github.com/coolsam726/pyvelm.git
cd pyvelm
cp .env.example .env
pip install -e .
docker compose up --build
See Getting started for Docker/local setup, and Multi-database support for backend matrix and DSN examples.
Documentation map¶
- Build features: models, views, form UX, workflows, report builder.
- Platform and operations: security, multi-database, deployment, navigation.
- Extensibility: modules, console commands, architecture.
- Release and version docs: unreleased notes, versioned docs.
CLI essentials¶
pyvelm init my_erp
pyvelm new inventory
pyvelm make:model inventory.product --module=inventory
pyvelm make:view inventory.product --module=inventory
pyvelm db autogen inventory
pyvelm db migrate
See CLI reference for full command options.
Current release¶
Latest docs target v1.4.6. Active development notes are in Unreleased.
Published package: