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 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 their parameters dynamically. This lite version allow user to put actions in queue for simply workflow design.

Installation

git clone https://gitlab.com/heingroup/sdl-webui-lite.git
pip install -r .\sdl_webui_lite\requirements.txt

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.1.tar.gz (92.9 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.1-py3-none-any.whl (92.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sdl-webui-lite-0.1.1.tar.gz
  • Upload date:
  • Size: 92.9 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.1.tar.gz
Algorithm Hash digest
SHA256 c6ea228115c71c196daeba96cffc031b4955768792145b524fe245725979a9c4
MD5 17c18fa2545f60b40fd587e918a9b69e
BLAKE2b-256 f5f3ad421af01cb36f688f2067e1bff98334146daff3bc9389cac142d567d286

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sdl_webui_lite-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 92.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5874c5e3417b35964e4bd60897c3b75a9c4f83adb76e542c4811ce9cd39b0c2d
MD5 30d3e25626aea91aafbe2044a35501e8
BLAKE2b-256 9798359f04e73e6025a0dbc1b49a52b571b2fa5bc8f43a67b43316e589713017

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