Demo static svelte UI distributed as a python package.
Project description
scui
Demo static svelte UI distributed as a python package.
UI
Minimal svelte demo app from npm create svelte@latest
.
- Uses static adapter
- Does not include the usual svelte demo sverdle game (which requires a server)
cd ui
npm install
# dev server - type 'o' to open browser on http://localhost:5173
npm run dev
# build into build directory
npm run build
pip installable scui package
This package includes a static web server and a bundle with the svelte UI build.
pip install scui
scui
To rebuild and publish the scui package
This assumes that access to pypi.org has been configured.
First npm install and npm build the svelte UI (see above)
pip install build twine
python -m build
python -m twine upload dist/*
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
scui-0.0.2.tar.gz
(648.3 kB
view details)
Built Distribution
scui-0.0.2-py3-none-any.whl
(654.6 kB
view details)
File details
Details for the file scui-0.0.2.tar.gz
.
File metadata
- Download URL: scui-0.0.2.tar.gz
- Upload date:
- Size: 648.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92be10e1e4a187907abc2443a482b6993bfa7b2f2536a668a0b88f259cef7de7 |
|
MD5 | c60b2e7d047ead3b2472372873dd9dbb |
|
BLAKE2b-256 | d885c9dc24291ac5aad1a594f09e634af33df35e384fa653b1ee92fa92986a62 |
File details
Details for the file scui-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: scui-0.0.2-py3-none-any.whl
- Upload date:
- Size: 654.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4bd110560eb7d20a341f22cded3fd5e0f3ecc8cf7d6eaa6cce91c08352429199 |
|
MD5 | dd657fd491551659c09061c4ea14e941 |
|
BLAKE2b-256 | c90c0ce1f542833b3f36b2ad55570b66ebbd65eca9cfb8f9a0b748a2079a5755 |