Skip to main content

This web UI aims to ease up the control of any Python-based SDLs by displaying functions and their parameters dynamically.

Project description

Self-driving lab Web UI - lite

We don't define Self-driving labs (SDLs). We enable UI for them. This is the lite version of Hein Lab SDL Web UI

Description

Granting SDL flexibility makes it impossible to design a UI, yet it's a necessity for allowing more people to interact with it. This web UI aims to ease up the control of any Python-based SDLs by displaying functions and parameters dynamically. This lite version allow user to put actions in queue for simply workflow design.

Installation

pip install sdl-webui-lite

Usage

in your self-driving platform class, use start_gui(your_sdl). Example in sample_code.py

sdl = YourSDL()
from sdl_webui_lite.app import start_gui
start_gui(sdl)

Additional settings

You can change the log file name/path, and the current SDL name, as this will reflect on the webapp page and title. You can also add other loggers

sdl = YourSDL()
from sdl_webui_lite.app import app, start_gui
app.config["DEBUG"] = False     # show fucntions startwith "_" if True
app.config["LOG_FILENAME"] = "/path/to/log.log"
app.config["TITLE"] = "Your SDL name"
start_gui(sdl, logger="your logger name")
# or
# start_gui(sdl, logger=["your logger name", "another logger"]) 

License

This project is licensed under the MIT License - see the LICENSE file for details.

Authors

Ivory Zhang | Hein Lab (ivoryzhang@chem.ubc.ca)

UI snapshot

page_screenshot.png

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

sdl-webui-lite-0.1.2.tar.gz (92.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sdl_webui_lite-0.1.2-py3-none-any.whl (92.2 kB view details)

Uploaded Python 3

File details

Details for the file sdl-webui-lite-0.1.2.tar.gz.

File metadata

  • Download URL: sdl-webui-lite-0.1.2.tar.gz
  • Upload date:
  • Size: 92.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.11

File hashes

Hashes for sdl-webui-lite-0.1.2.tar.gz
Algorithm Hash digest
SHA256 929875f33721bba19277f71915149b0d43746d042d82b3121f418cfd13e3f8e1
MD5 2b1c1420bf08fa9cd3affaa6d19c5bda
BLAKE2b-256 6f81f7baf21ec7caebdabfcd20d8f0c0345df06cb124721b6ac4eaab1c4e4ce8

See more details on using hashes here.

File details

Details for the file sdl_webui_lite-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sdl_webui_lite-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 92.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.11

File hashes

Hashes for sdl_webui_lite-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f5768e85107fd464da5baa6f5838422873716dd3e36db38fd1d10537d84c87c3
MD5 46aad61202cfc3f238acf0bc76706b48
BLAKE2b-256 bc8a86d3778e87b243d19ca4504dbd5dd4dc153c02f51c16ea9242737854ef52

See more details on using hashes here.

Supported by

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