This release is a pre-release and may not be stable for production use.
pylair
The Python side of Pylair, a desktop framework for Python and local-AI applications. This package is the runtime that lives inside a Pylair desktop app: it hosts your exposed functions, runs the length-prefixed JSON-RPC protocol over stdio, and reports health and cancellation state to the Rust supervisor.
You don't run it directly — pylair (the CLI) spawns it. In your app:
from pylair import expose
@expose
def add(a: int, b: int) -> int:
return a + b
@expose
async def chat(prompt: str):
async for token in my_model.stream(prompt):
yield token
@exposed functions become typed calls and streams on the TypeScript
side (@pylair/client). Streaming is a yield-producing function;
cancellation is cooperative.
- Scaffolding:
npx create-pylair my-app - Dev:
pylair dev— supervised runtime, hot reload - Build:
pylair build— bundles CPython + your deps into a native installer; end users need no Python install
Requires Python 3.12+.
Pylair builds on Tauri but is not affiliated with or endorsed by the Tauri project.
License: MIT OR Apache-2.0.
Metadata
Release files for pylair 0.1.0rc9
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 |
|---|---|---|---|---|
| pylair-0.1.0rc9.tar.gz | 50.1 kB | With provenance | Details for pylair-0.1.0rc9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pylair-0.1.0rc9-py3-none-any.whl | Python 3 | none | any | Details for pylair-0.1.0rc9-py3-none-any.whl |
Total release size: 83.8 kB
Release files / pylair-0.1.0rc9.tar.gz
| Download URL | pylair-0.1.0rc9.tar.gz |
|---|---|
| Size | 50.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9d4b3ab31ce2c211a738c9e0bcafdd2dcbded778a65aafcc145d38a1be67f19a
|
|
BLAKE2b-256 checksum How to use checksums |
44741a723cf55aafc92297b2018ff1593d0ed1fa943a8aaf8b61357fb532831c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 14, 2026.
Transparency logRelease files / pylair-0.1.0rc9-py3-none-any.whl
| Download URL | pylair-0.1.0rc9-py3-none-any.whl |
|---|---|
| Size | 33.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e5ff6a2760874668b12b6a67a39870c34c5b29be3f38ee539928c583ce43a62
|
|
BLAKE2b-256 checksum How to use checksums |
6e20c27abbdfa1921bb0a0db8904f671011c760e62ecf16d7d0355c910a962bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 14, 2026.
Transparency logSecurity for pylair 0.1.0rc9
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
Both files in this release have been uploaded with provenance metadata.
Attestation for pylair-0.1.0rc9.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 Nov 14, 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.