Metadata-Version: 2.5
Name: almasix-conduit
Version: 0.1.0
Summary: Livewire-parity reactive components for Almasix (almasix.conduit)
Project-URL: Homepage, https://github.com/almasix-dev/conduit
Project-URL: Repository, https://github.com/almasix-dev/conduit
Project-URL: Documentation, https://almasix-dev.github.io/almasix/conduit/
Project-URL: Issues, https://github.com/almasix-dev/conduit/issues
Author: Almasix Contributors
License-Expression: MIT
License-File: LICENSE
Requires-Python: >=3.11
Requires-Dist: almasix>=0.6.0
Provides-Extra: dev
Requires-Dist: httpx>=0.27.0; extra == 'dev'
Requires-Dist: pytest-asyncio>=0.24.0; extra == 'dev'
Requires-Dist: pytest>=8.0; extra == 'dev'
Requires-Dist: ruff==0.16.6; extra == 'dev'
Description-Content-Type: text/markdown

# almasix-conduit

Livewire-parity reactive components for [Almasix](https://github.com/almasix-dev/almasix).
Import path stays `almasix.conduit` (namespace package under the core `almasix` dist).

```bash
pip install 'almasix[conduit]'
# or
pip install almasix-conduit
```

```python
from almasix.conduit import Component, Conduit, conduit

class Counter(Component):
    count = 0

    def increment(self) -> None:
        self.count += 1

    def render(self) -> str:
        return "conduit::counter"
```

`ConduitServiceProvider` is discovered automatically via the `almasix.providers`
entry-point group when this package is installed.

Framework docs: [Conduit](https://almasix-dev.github.io/almasix/conduit/).

## Develop

```bash
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](LICENSE)
