almasix-conduit
Server-driven reactive components for Almasix.
Import path stays almasix.conduit (namespace package under the core almasix dist).
0.2 ships full-page routes, <conduit:…> tags, and a dual conduit: / wire: + $conduit / $wire vocabulary.
Inspired by Livewire’s architecture — thank you, Caleb — Conduit is its own package for the Almasix/Python world.
pip install 'almasix[conduit]'
# or
pip install almasix-conduit
from almasix.conduit import Component, Conduit, conduit
from almasix.routing import Route
class Counter(Component):
count = 0
def increment(self) -> None:
self.count += 1
def render(self) -> str:
return "conduit.counter"
Route.conduit("/counter", Counter)
<!-- embed anywhere -->
<conduit:counter />
<!-- or -->
@conduit('counter')
<button type="button" conduit:click="increment">+</button>
<span x-text="$conduit.count"></span>
wire:* and $wire still work — use whichever you prefer.
ConduitServiceProvider is discovered automatically via the almasix.providers
entry-point group when this package is installed.
Docs: conduit.almasix.com.
Develop
pip install -e ".[dev]"
ruff check src tests && ruff format --check src tests
pytest -q
Release
Tag vX.Y.Z matching project.version and publish a GitHub Release. The
publish workflow uses PyPI Trusted Publishing (OIDC).
License
Metadata
Release files for almasix-conduit 0.2.2
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 |
|---|---|---|---|---|
| almasix_conduit-0.2.2.tar.gz | 35.4 kB | With provenance | Details for almasix_conduit-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| almasix_conduit-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for almasix_conduit-0.2.2-py3-none-any.whl |
Total release size: 69.9 kB
Release files / almasix_conduit-0.2.2.tar.gz
| Download URL | almasix_conduit-0.2.2.tar.gz |
|---|---|
| Size | 35.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b578a10c76fb589b012e817e7969bd5b9594ea725ea3c6fcd5e74a7def1d75f9
|
|
BLAKE2b-256 checksum How to use checksums |
51be4b045485c5a0314a428a66df86742590a4d4917614832b9b91600c6c5068
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Sep 28, 2026.
Transparency logRelease files / almasix_conduit-0.2.2-py3-none-any.whl
| Download URL | almasix_conduit-0.2.2-py3-none-any.whl |
|---|---|
| Size | 34.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d6d3b41f4884c7b894221ebf6eb8077e9afdea457c5f1b09f7d6f00466a883fc
|
|
BLAKE2b-256 checksum How to use checksums |
5ff19035f6fc55e7cb246e3c02237fa9fd71c58f6174e92c2b61766ad3b96aee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.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 Sep 28, 2026.
Transparency logSecurity for almasix-conduit 0.2.2
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for almasix_conduit-0.2.2.tar.gz
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 Sep 28, 2026.
Transparency logA 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.