Skip to main content

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

MIT

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)

Source distribution for almasix-conduit 0.2.2
File Size Uploaded
almasix_conduit-0.2.2.tar.gz 35.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for almasix-conduit 0.2.2
File Interpreter ABI Platform
almasix_conduit-0.2.2-py3-none-any.whl Python 3 none any Details

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 log

Release 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 log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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