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.1

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.1
File Size Uploaded
almasix_conduit-0.2.1.tar.gz 35.0 kB Details

Built distribution (wheel)

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

Total release size: 69.3 kB

Release files / almasix_conduit-0.2.1.tar.gz

Download URL almasix_conduit-0.2.1.tar.gz
Size 35.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e1c7d5c118847a3c46862cc1661385288d9d75825dd38f77ef4405cf5153557a
BLAKE2b-256 checksum
How to use checksums
71ca1aff6f13b2fc07f13162e74276251ff2852208b0f79f18cd971fe94d59ce
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 18, 2026.

Transparency log

Release files / almasix_conduit-0.2.1-py3-none-any.whl

Download URL almasix_conduit-0.2.1-py3-none-any.whl
Size 34.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
539103948915f6d0325784174d46660cdb177c9ec030147ab76041eb1ee67f80
BLAKE2b-256 checksum
How to use checksums
bdab546182ee6d6df89744d4731305cf0a339b5f909d6537d81eecea6632bb91
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 18, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

This release

0.2.1 This release

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