Conduit
Conduit (almasix.conduit) is Almasix’s Livewire-class stack, targeting Livewire 4
semantics: server-driven components that render Prism templates, talk over a
CSRF-safe wire protocol, and interop with Alpine.js via $wire.
from almasix.conduit import Component, Conduit, conduitThe HTML attribute vocabulary stays wire:* (same as Livewire) so muscle
memory and docs transfer. The Python package is published separately as
almasix-conduit — import path
stays from almasix.conduit import …. After installing, register a component and
browse a page that embeds it with @conduit.
- Installation —
pip install 'almasix[conduit]'oralmasix-conduit - Quick start — counter component,
@conduit, happy-path UX - Components — state, lifecycle, actions, validation, nesting
- Wire protocol — update endpoint, checksums, assets
- Directives — Livewire
wire:*vocabulary - Alpine and islands —
$wiremagics and scoped morph - Configuration — signed URLs, subpaths,
config/conduit.py - Livewire parity — feature matrix