Kanbaroo phase 2 web UI: React SPA plus static asset bundle served by kanbaroo-api.
Project description
kanbaroo-web
Static web UI for Kanbaroo, served by kanbaroo-api at /ui when you install the optional kanbaroo-api[web] extra. See docs/spec.md section 9.2 for design intent.
This package ships a single function:
from kanbaroo_web import web_assets_path
assets_dir = web_assets_path() # absolute Path to the bundled dist/
kanbaroo-api uses it to mount a /ui catch-all with an SPA fallback.
Building the bundle
The dist/ directory under src/kanbaroo_web/ is produced by a Vite + React build. The sources live in the sibling frontend/ directory and are not shipped in the wheel; only the built output is.
Node 20+ is a build-time requirement. From the repo root:
make web-build # installs npm deps and runs vite build
make web-dev # runs the Vite dev server for iterative work
make web-test # runs the frontend test suite (vitest, single-shot)
make web-build writes into packages/kanbaroo-web/src/kanbaroo_web/dist/, overwriting whatever was there. The committed dist/ is what pip install kanbaroo-web delivers.
Install
pip install 'kanbaroo-api[web]'
License: MIT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kanbaroo_web-0.3.0.tar.gz.
File metadata
- Download URL: kanbaroo_web-0.3.0.tar.gz
- Upload date:
- Size: 414.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5cfb3c7b5759fdadc5305c86787a18a06cce96275c6c508369333930ed489df
|
|
| MD5 |
b203a5df0d4be668b3be40a750b4d9e1
|
|
| BLAKE2b-256 |
5877fc90acdb823636b5542ca9b94378ede845532a153c9dd86d77ac4ee76a81
|
File details
Details for the file kanbaroo_web-0.3.0-py3-none-any.whl.
File metadata
- Download URL: kanbaroo_web-0.3.0-py3-none-any.whl
- Upload date:
- Size: 146.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
007eb4f72a204e17b9bdf63f1553688564eae6a58fcd387238bf99a1c2c0411d
|
|
| MD5 |
262d1019c1ed5ab71dfcd53b1804cf5b
|
|
| BLAKE2b-256 |
bac93e34e26bedff28ab6f1bd1630b9b9db0292d2da2ce214dec5b33d5cffb4c
|