Skip to main content

LizyStudio

PyPI version Python License: MIT CI

A web-based GUI for machine-learning workflows. Configure, train, evaluate, tune, and run inference — all from your browser, no code required.

LizyStudio wraps ML backend libraries (starting with LizyML) behind an adapter layer, so the same interface works across different backends.

Workspace

Features

Workspace — iterative ML workflow in a single page

Configure data, model parameters, cross-validation, and run training — all without leaving the page. Results appear in real-time via WebSocket.

  • JSON-Schema-driven config forms — backend schemas are rendered automatically; no hand-written UI per backend
  • CV fold preview and column value distribution bars
  • BlockedGroupKFold 2-axis editor for complex split strategies
  • Config upload/download (YAML/JSON)

Jobs — training lifecycle management

Jobs

Browse all fit and tune jobs. Inspect metrics, feature importance, learning curves, and confusion matrices. Export trained models or standalone Python code.

  • KPI cards with key metrics at a glance
  • Feature importance with kind selection (split, gain, SHAP)
  • Learning curve plots with per-fold filtering
  • Model export as artifacts or dependency-free Python code

Tune — hyperparameter optimization

Tune

Define search spaces with fixed/range modes, run Optuna-powered hyperparameter tuning, and compare trial results.

  • Search space editor with default range auto-population
  • Real-time trial progress with fold-level scores

Inference — apply models to new data

Predict on new datasets using any completed job's model. Optionally include SHAP explanations and evaluate against ground truth.

  • Prediction table with pagination
  • Evaluation metrics and plots (when ground truth is available)
  • Distribution comparison between inference runs
  • CSV download of results

Adapter architecture

Plug in new ML backends by implementing a single Python protocol. The GUI adapts automatically — no frontend changes needed.

See the Adapter Guide for implementation details.

Requirements

  • Python 3.10+

Installation

pip install lizystudio

Quick start

lizystudio              # starts the server on http://localhost:8501
lizystudio --port 9000  # custom port

Open your browser and navigate to the URL shown in the terminal.

Deploying behind a non-localhost origin

Set the comma-separated allowlist env vars so the server accepts your production URLs:

export LIZYSTUDIO_CORS_ALLOWED_ORIGINS="https://studio.example.com"
export LIZYSTUDIO_WS_ALLOWED_ORIGINS="https://studio.example.com"

Both default to http://localhost:5173 / the dev localhost set when the variables are unset.

Typical workflow

  1. Load data — upload a CSV/Parquet or select a local file
  2. Configure model — adjust parameters or use smart defaults
  3. Train — click Fit (single run) or Tune (hyperparameter search)
  4. Review results — metrics, plots, and feature importance appear in real-time
  5. Export — save the trained model or generate standalone Python code
  6. Inference — apply the model to new data

Tech stack

Layer Technology
Backend Python, FastAPI, Uvicorn
Frontend React 19, TypeScript, Vite
UI Tailwind CSS, shadcn/ui
ML backend LizyML (LightGBM + scikit-learn)
Type safety Pydantic → OpenAPI → openapi-typescript
Linting Ruff (Python), Biome (TypeScript)
Testing pytest, Vitest, Playwright

Development

Python 3.10–3.14 (develop on 3.12) with uv, and Node.js 24 with pnpm 10.31.0 via corepack. The supported toolchain, the one-time setup (locked installs, git hooks, the E2E browser) and the dev servers are described once, in CONTRIBUTING.md § Getting started.

Commands

# Backend
uv run pytest                       # run tests
uv run ruff check .                 # lint
uv run ruff format --check .        # format check
uv run mypy src/lizystudio/         # type check

# Frontend
cd frontend
pnpm build                          # production build → src/lizystudio/static/
pnpm check                          # Biome lint + format
pnpm test                           # Vitest
pnpm test:e2e                       # Playwright E2E
pnpm generate:api                   # regenerate API types from OpenAPI
pnpm storybook                      # component development

Cleaning local artefacts

Day-to-day development leaves gitignored artefacts in the working tree (visual-spike PNGs, stale coverage.json, superseded dist/*.whl from local uv build runs). They are not tracked, so they never enter a commit, but they clutter file searches over time.

git clean -dxn                      # dry-run: list what would be removed
git clean -dxf                      # actually remove everything gitignored

-x includes gitignored files; -d recurses into untracked directories. Run from the repo root only — the command is destructive for anything that is gitignored but locally important (e.g. .env).

Documentation

Document Description
Architecture System overview, layer responsibilities, data flow
API Reference REST endpoints, WebSocket, error codes
Adapter Guide How to implement a new ML backend
Contributing Development workflow, conventions, quality gates
Changelog Release history
Security Vulnerability reporting, security design

Contributing

Contributions are welcome! Please read the Contributing Guide for the development workflow, commit conventions, and quality requirements.

License

MIT

Metadata

Release files for lizystudio 0.8.0

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

Source distribution (sdist)

Source distribution for lizystudio 0.8.0
File Size Uploaded Provenance Actions
lizystudio-0.8.0.tar.gz 2.0 MB With provenance Details for lizystudio-0.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for lizystudio 0.8.0
File Interpreter ABI Platform Actions
lizystudio-0.8.0-py3-none-any.whl Python 3 none any Details for lizystudio-0.8.0-py3-none-any.whl

Total release size: 4.0 MB

Release files / lizystudio-0.8.0.tar.gz

Download URL lizystudio-0.8.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
2e6c80ce49ccd5dec6d29e184a8fb10c42c325547f3d6e8b5b3259ff4517d696
BLAKE2b-256 checksum
How to use checksums
e395f3b6a7bc83c1d922a44a17be091421f2ca4e319c4cbef38f69def6370dbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Release files / lizystudio-0.8.0-py3-none-any.whl

Download URL lizystudio-0.8.0-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
9f6a6c0de4ad65daa9bd005ce0532528975c4e7e40648eb1084bc2f5bd16cd7e
BLAKE2b-256 checksum
How to use checksums
5b24aab80b4a7cdea277cf28d93806170c88134a84faf067ab45f7d803963d11
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

Security for lizystudio 0.8.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for lizystudio-0.8.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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