Skip to content

API reference

Generated from docstrings via mkdocstrings.

The reference covers the framework package only — bundled modules (base, admin) and example addons (partners, crm, etc.) declare data, not API.

Layout

  • Recordsets & fields — the ORM core. Start with pyvelm.model (BaseModel + recordsets), then pyvelm.fields (Char / Integer / Many2one / …).
  • Modules & loaderManifest.make() manifests, views_data builders, install/upgrade via pyvelm.loader.
  • Views & renderingpyvelm.builders fluent view/menu declarations, view inheritance, HTMX/Jinja renderer.
  • Workflows — server actions, automation rules, cron, mail.
  • HTTP & CLI — the FastAPI app factory and the pyvelm-cron background runner.

Conventions

  • Private names (_leading_underscore) are filtered out by default; they show up only when documented explicitly.
  • Args: / Returns: / Raises: blocks render as tables; free-form paragraphs render as Markdown.
  • "Source" links at each entry jump straight to the line on GitHub.