Skip to main content

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


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.1.tar.gz (648.2 kB view hashes)

Uploaded Source

Built Distribution

scui-0.0.1-py3-none-any.whl (654.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page