Skip to main content

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

Metadata

Release files for sdl-webui-lite 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sdl-webui-lite 0.1.2
File Size Uploaded
sdl-webui-lite-0.1.2.tar.gz 92.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sdl-webui-lite 0.1.2
File Interpreter ABI Platform
sdl_webui_lite-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 185.1 kB

Release files / sdl-webui-lite-0.1.2.tar.gz

Download URL sdl-webui-lite-0.1.2.tar.gz
Size 92.8 kB
Tags Source
SHA-256 checksum
How to use checksums
929875f33721bba19277f71915149b0d43746d042d82b3121f418cfd13e3f8e1
BLAKE2b-256 checksum
How to use checksums
6f81f7baf21ec7caebdabfcd20d8f0c0345df06cb124721b6ac4eaab1c4e4ce8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release files / sdl_webui_lite-0.1.2-py3-none-any.whl

Download URL sdl_webui_lite-0.1.2-py3-none-any.whl
Size 92.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5768e85107fd464da5baa6f5838422873716dd3e36db38fd1d10537d84c87c3
BLAKE2b-256 checksum
How to use checksums
bc8a86d3778e87b243d19ca4504dbd5dd4dc153c02f51c16ea9242737854ef52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.11

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page