cakeui
Desktop apps with Python and a web frontend, no Rust or bundler required.
This is the runtime package. It wraps pywebview,
validates arguments with Pydantic, and ships the JavaScript bridge your frontend
imports. For scaffolding, the dev server and Nuitka packaging, install
cakeui-cli instead.
Install
pip install cakeui # runtime only
pip install cakeui-cli # the `cakeui` command, which needs this runtime
Hello world
from cakeui import App
app = App(title="Notes")
@app.command
def save_note(text: str) -> dict[str, str]:
return {"saved": text}
if __name__ == "__main__":
app.run()
const { saved } = await cakeui.invoke("save_note", { text: "buy cake" });
save_note is checked against its annotations before the body runs, so a bad
call from JavaScript is rejected with structured data instead of a string in
console.log.
What is in the box
App, @app.command, @app.on |
the command and event layer |
| Pydantic validation | arguments and return values, with structured errors |
Window injection |
window.emit, evaluate, show, hide, close |
resource_path |
find bundled files in dev and after packaging |
_bridge.js / _bridge.mjs |
the prebuilt frontend bridge, copied into your project |
The bridge files are generated from the js/ directory in the repository, so
the runtime and the npm package cannot drift apart.
Documentation
Full documentation, the CLI reference and the packaging guide live in the repository.
License
Apache-2.0.
Metadata
Release files for cakeui 0.1.0
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 |
|---|---|---|---|---|
| cakeui-0.1.0.tar.gz | 33.6 kB | With provenance | Details for cakeui-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cakeui-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for cakeui-0.1.0-py3-none-any.whl |
Total release size: 71.3 kB
Release files / cakeui-0.1.0.tar.gz
| Download URL | cakeui-0.1.0.tar.gz |
|---|---|
| Size | 33.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
530db134adf4585c6db232102af1d000b641a0b122c51b06e18c535b36e91261
|
|
BLAKE2b-256 checksum How to use checksums |
ef99eefaf02427aca65e96c21459e3f4f65b89e3e7356e14c00ce2a5bb752ee2
|
| 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 2, 2026.
Transparency logRelease files / cakeui-0.1.0-py3-none-any.whl
| Download URL | cakeui-0.1.0-py3-none-any.whl |
|---|---|
| Size | 37.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
37bfcb03c95cd6eb82b7ce15588f94b79253c5d875cddfc4840db0a3abdb1723
|
|
BLAKE2b-256 checksum How to use checksums |
05ee66ffc36ebca4e05996f92d183385cac3cbf246d8228cd7b1d5ccb2dc2821
|
| 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 2, 2026.
Transparency logSecurity for cakeui 0.1.0
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 cakeui-0.1.0.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 2, 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.