Skip to main content

An extension of fabricatio

Project description

fabricatio-webui

MIT Python Versions PyPI Version PyPI Downloads PyPI Downloads Bindings: PyO3 Build Tool: uv + maturin

Web UI service for the Fabricatio LLM application framework. Serves a Vue-based single-page application built with Vite over an axum HTTP server (Rust, bound via PyO3).


Installation

pip install fabricatio[webui]
# or
pip install fabricatio-webui

The CLI entry point requires the cli extra:

pip install fabricatio-webui[cli]

Quick Start

Start the service with the bundled frontend:

fc-webui

This serves the SPA at http://127.0.0.1:9846. Use --frontend-dir / -d to point at a custom build, and --addr / -a to change the bind address:

fc-webui --addr 0.0.0.0:3000 --frontend-dir ./dist

API

All functionality is exposed through the Rust-backed Python module fabricatio_webui.rust.

start_service(frontend_dir, addr)

Starts an async HTTP server (axum + tokio) that serves static files from frontend_dir with SPA fallback (all unmatched routes serve index.html). CORS is permissive.

Parameter Type Description
frontend_dir str | PathLike Directory containing the built frontend
addr str Bind address, e.g. "127.0.0.1:9846"
import asyncio
from fabricatio_webui.rust import start_service

asyncio.run(start_service("./www", "127.0.0.1:9846"))

Configuration

WebuiConfig is a frozen dataclass loaded from Fabricatio's configuration system:

from fabricatio_webui.config import webui_config

Dependencies

  • fabricatio-core — core interfaces and configuration
  • axum + tokio + tower-http (Rust) — HTTP server and middleware
  • typer (optional, for CLI) — fc-webui command

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

fabricatio_webui-0.4.1-cp314-cp314-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.14Windows x86-64

fabricatio_webui-0.4.1-cp314-cp314-manylinux_2_34_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ x86-64

fabricatio_webui-0.4.1-cp314-cp314-manylinux_2_34_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.34+ ARM64

fabricatio_webui-0.4.1-cp314-cp314-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

fabricatio_webui-0.4.1-cp313-cp313-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.13Windows x86-64

fabricatio_webui-0.4.1-cp313-cp313-manylinux_2_34_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ x86-64

fabricatio_webui-0.4.1-cp313-cp313-manylinux_2_34_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.34+ ARM64

fabricatio_webui-0.4.1-cp313-cp313-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

fabricatio_webui-0.4.1-cp312-cp312-win_amd64.whl (3.2 MB view details)

Uploaded CPython 3.12Windows x86-64

fabricatio_webui-0.4.1-cp312-cp312-manylinux_2_34_x86_64.whl (3.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ x86-64

fabricatio_webui-0.4.1-cp312-cp312-manylinux_2_34_aarch64.whl (3.2 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.34+ ARM64

fabricatio_webui-0.4.1-cp312-cp312-macosx_11_0_arm64.whl (3.2 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

File details

Details for the file fabricatio_webui-0.4.1-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 cad521657ed895ba27bc070c43e747d2ecc6e96826b25213ab2039584aa27517
MD5 6ce125a34b70c2f879024932315ace7c
BLAKE2b-256 2b640a5bb4863beca1e8523410f7f8371258874ed7772e39c7f726ef7b28b0ae

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp314-cp314-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp314-cp314-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.14, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp314-cp314-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0e95c4443ebb0acf76140feceb9f5a0e2ecfed55ac00dd8115da0db454114aa6
MD5 66e51fbb29540f2e3ac8b8a7ea242688
BLAKE2b-256 a52a2fc2a9dd734082f025f0716a513c41b18050f7380f12025de3c3a389c25a

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp314-cp314-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp314-cp314-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.14, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp314-cp314-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 dd0b517a6efa91533439f198ead75b8a97a791ecceec84e9f23a1701a17ac2a6
MD5 a61958314335e1ec94648dff9e1566d9
BLAKE2b-256 014426e7e6c8a4aa6eac07e6cec159517528e9aa99bfbcd2871d93cc232e951a

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp314-cp314-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.14, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 309aeb4f14b2a8c8841dbbf194568fcb095e0949969c060b71d30702bac2a3a4
MD5 d9523bb86fd7403c6289cbfeb9e31d11
BLAKE2b-256 65c613e8ceffecdeeda043579c84c0cf89fc92517dd29b20458caa583648f995

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 334d941639bd4c8431e269e1cbe85cae3008972b341a34f2b39f31c9fa4c7b0d
MD5 3e4f4085093bb9913040a39310a6effc
BLAKE2b-256 88c5bdfd0a2fd9ca15612af08109ec4d2b61679b2c0bf38da4c216ffe69fabe2

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp313-cp313-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp313-cp313-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp313-cp313-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 0cafc869309561173cca8021b243741f04698409f4b53b72a7b4986ea3330a92
MD5 1820e897051ccef746eeac77d8fe26ec
BLAKE2b-256 2be094660a7281a4c8113be889f4c33718f8183e2016f4b3cfa55ce0c6792c2d

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp313-cp313-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp313-cp313-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.13, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp313-cp313-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 0c51604753ad09d54f7410f3b8a23bee5ca90aafd5137b1d85ad703654a9894f
MD5 d72b55d042ba052d79197cfbbc57956c
BLAKE2b-256 4b61a1d6e64087c05ddebd03124cdc41cd928ed1f1ce80348bef61c409aaf8d2

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp313-cp313-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.13, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d5181d19258a3979cd978c07928e8f23ea5e7cc19c153d0591d24b7fcd9e411b
MD5 f9d1614dcb4af1c1ccc385b58dbd246f
BLAKE2b-256 6ef22d3bbfb8cf8c2807ab820e042472f531acf2dca7995dff9e407eed8fc5e5

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 53885389c48dd88b00a0edbe791ffa666cb8fa90ddf4a8e263c540b81cc85e4f
MD5 01032740adc28238de6a1384ad7d9582
BLAKE2b-256 420d658def5b6e1aa894997268f4d87689cdad605b274e28eb712256af384971

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp312-cp312-manylinux_2_34_x86_64.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5778abf0be6d5e58d78abeecde751841a2bad8878c5d4854f33f0db695a71061
MD5 36af9ebff192565ebdfb3348ad586dd8
BLAKE2b-256 2f0dedfdfc5568bb6a852e525e14eac60062e0a410702389706e120ef196ada2

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp312-cp312-manylinux_2_34_aarch64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp312-cp312-manylinux_2_34_aarch64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.12, manylinux: glibc 2.34+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp312-cp312-manylinux_2_34_aarch64.whl
Algorithm Hash digest
SHA256 2de424d17d53547ed992508207ae2a71e4571a0fd2384bba27644f31dcd727a7
MD5 7cf213a4345a9e50b714370bc7c9d0ff
BLAKE2b-256 ca35acc2f81077283a97c7b63b7e47fdad13cc54faf094fa4921bfc69774b84f

See more details on using hashes here.

File details

Details for the file fabricatio_webui-0.4.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

  • Download URL: fabricatio_webui-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.12, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for fabricatio_webui-0.4.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 be04fe716bdbbb4d436a632def2f288c97915d3429ecb382a4b9b47a8cf9fee7
MD5 5bcf5c0ca7d07c7c35d23905ea825982
BLAKE2b-256 009fad74bcefb8af011ff0a29ccc95d67233401582e394cf344b6b540859be63

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