Skip to main content

CakeUI

cakeui-cli

The cakeui command: scaffold a desktop app, run it against a live dev server, and package it with Nuitka.

It depends on the cakeui runtime, so installing this gives you both.

Install

pip install cakeui-cli
# or, isolated from your project's environment:
uv tool install cakeui-cli

Packaging needs Nuitka, which is an optional extra so that cakeui new and cakeui dev stay cheap:

pip install "cakeui-cli[build]"

Commands

Command Does
cakeui new <name> [--template NAME] [-p npm|pnpm|yarn|bun] [--dir PATH] [--force] [--no-install] Scaffold with npm create vite, then merge the CakeUI layer
cakeui dev [--url URL] [--debug] [-- extra args] Start the frontend dev server, then open the window
cakeui info Print the resolved config and web paths
cakeui sync [--dry-run] [--force] Refresh web/src/lib/cakeui/ to the installed version
cakeui build [--mode standalone|onefile] [--output-dir PATH] [--no-web] [--dry-run] Build the frontend, then package with Nuitka

cakeui sync is the upgrade path: cakeui new only lays the generated files down once, and cakeui dev only refreshes them when it starts a dev server itself. sync rewrites the bridge, the TypeScript declarations and cakeui-boot.ts, and re-adds the boot import to the entry file if it is missing. Bridge files are always overwritten; a locally edited cakeui-boot.ts is kept unless you pass --force.

cakeui new supports vue-ts, react-ts, svelte-ts and vanilla-ts by name, but any Vite template works, because the name is passed straight to Vite.

Quickstart

cakeui new my-app --template vue-ts
cd my-app
(cd web && npm install)
cakeui dev

cakeui build produces a .app on macOS (pyobjc only works inside one) and a main.dist/ folder or a single executable on Windows and Linux, depending on mode in [tool.cakeui.build].

Settings live in the generated pyproject.toml:

[tool.cakeui]
name = "MyApp"
entry = "main.py"
web = "web"
web_dist = "web/dist"
icon = "assets/icon"

[tool.cakeui.build]
mode = "standalone"      # or "onefile"
console = false
output_dir = "dist"

icon names a group of files rather than one path: cakeui new writes assets/icon.icns, assets/icon.ico and assets/icon.png, and each platform uses whichever it needs. Replacing the artwork means overwriting the files, not editing the config.

Documentation

Full documentation lives in the repository.

License

Apache-2.0.

Metadata

Release files for cakeui-cli 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cakeui-cli 0.2.0
File Size Uploaded Provenance Actions
cakeui_cli-0.2.0.tar.gz 1.1 MB With provenance Details for cakeui_cli-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cakeui-cli 0.2.0
File Interpreter ABI Platform Actions
cakeui_cli-0.2.0-py3-none-any.whl Python 3 none any Details for cakeui_cli-0.2.0-py3-none-any.whl

Total release size: 2.2 MB

Release files / cakeui_cli-0.2.0.tar.gz

Download URL cakeui_cli-0.2.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
b79fc235131ff7b0363febe918c07881ccff5d00e00b7719cb98b71acd06e1b4
BLAKE2b-256 checksum
How to use checksums
4d2f976a6d96dedf18a2ab5d2854715bcb1e1ba376198b2a2fd4b7c4824878a3
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 log

Release files / cakeui_cli-0.2.0-py3-none-any.whl

Download URL cakeui_cli-0.2.0-py3-none-any.whl
Size 1.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
64a46a12471b6641095ba250cf515a571b540435fc12f665a78c0e8a6be54b5e
BLAKE2b-256 checksum
How to use checksums
b6b722cab29ad0708f252f85c203d2d6f5dc1f9f4667803a5e79041a1534e092
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 log

Security for cakeui-cli 0.2.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.

Select from 2 files

Attestation for cakeui_cli-0.2.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 log

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

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files Full provenance

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