Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

tiferet-mui

Tiferet MUI lets a Streamlit application describe and render Material UI widgets through Streamlit's supported public component API. It keeps widget trees and callback routing host-agnostic, while the optional Streamlit binding handles mounting and interaction delivery.

Install

Install the core package when you only need its domain models, widget defaults, and domain events:

pip install tiferet-mui

Install the Streamlit extra to render a Frame in a Streamlit application:

pip install "tiferet-mui[streamlit]"

Minimal usage

Build a nested Frame from widget specifications, then mount it with the Streamlit binding:

from tiferet_mui.blueprints.core import build_frame
from tiferet_mui.blueprints.streamlit import build_streamlit_binding


def save() -> None:
    print('Saved.')


frame = build_frame(
    elements=[
        {
            'widget_type': 'box',
            'props': {'sx': {'display': 'grid', 'gap': 2}},
            'children': [
                {
                    'widget_type': 'text_field',
                    'props': {'label': 'Name', 'fullWidth': True},
                },
                {
                    'widget_type': 'button',
                    'props': {'children': 'Save', 'onClick': save},
                },
            ],
        },
    ],
)

build_streamlit_binding()(frame, key='profile_form')

Run the included interactive example with:

streamlit run examples/streamlit_binding_demo.py

Download files

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

Source Distribution

tiferet_mui-1.0.0a7.tar.gz (7.4 MB view details)

Uploaded Source

Built Distribution

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

tiferet_mui-1.0.0a7-py3-none-any.whl (7.9 MB view details)

Uploaded Python 3

File details

Details for the file tiferet_mui-1.0.0a7.tar.gz.

File metadata

  • Download URL: tiferet_mui-1.0.0a7.tar.gz
  • Upload date:
  • Size: 7.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tiferet_mui-1.0.0a7.tar.gz
Algorithm Hash digest
SHA256 c16f409278422da788f936ab168cef4c6ba2a52d4828e197ab868cc4c5089263
MD5 c1b0072dc868f798b87f59de9a4955d3
BLAKE2b-256 c4b2d9bf8dfb42947a4783ad53a22e135a51fe277b8c40521960a0351c07d5c0

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiferet_mui-1.0.0a7.tar.gz:

Publisher: python-publish.yml on greatstrength/tiferet-mui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tiferet_mui-1.0.0a7-py3-none-any.whl.

File metadata

  • Download URL: tiferet_mui-1.0.0a7-py3-none-any.whl
  • Upload date:
  • Size: 7.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for tiferet_mui-1.0.0a7-py3-none-any.whl
Algorithm Hash digest
SHA256 673c53f093660036f0a0e37778a6c0d1a581b11ac5dfca55d25f904f3deac6f9
MD5 cf35041309cb8798547220f65a892221
BLAKE2b-256 78b91709dcce7ddd0a75ce0067a54c0c695fe67d25af0460bdce80114c912412

See more details on using hashes here.

Provenance

The following attestation bundles were made for tiferet_mui-1.0.0a7-py3-none-any.whl:

Publisher: python-publish.yml on greatstrength/tiferet-mui

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

1.0.0a7 This release

2 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