trame-mui is the React equivalent of trame-vuetify: it wraps MUI (Material Design components for React, the direct analog of Vuetify for Vue) for trame applications running with client_type="react" (the native React client that ships with trame-client).
from trame.app import get_server
from trame.widgets import mui
server = get_server(client_type="react")
Not to be confused with trame-react, which embeds a Vue-rendered trame application inside a React application through an iframe.
Layout (mirrors trame-vuetify)
react-components/ - React components + install(registry) plugin, bundled with React as an external, and the Python class generator
src/trame_mui/module/ - module descriptor (serve/scripts/ styles/react_use) consumed by server.enable_module()
src/trame_mui/widgets/ - generated Python widget classes
Development
Build and install the Vue components
cd react-components
npm i
npm run build
cd -
Install the library
# Create venv and install all dependencies
uv sync --all-extras --dev
# Activate environment
source .venv/bin/activate
# Install commit analysis
pre-commit install
pre-commit install --hook-type commit-msg
License
trame-mui is made available under the MIT License.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file trame_mui-1.0.0.tar.gz.
File metadata
- Download URL: trame_mui-1.0.0.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37a8a25a5f8829b057034fe5586ff2933176037078470ef5d63172e36c6e15e8
|
|
| MD5 |
c3a149e85949b631bdcdbdb584cf1869
|
|
| BLAKE2b-256 |
fd34c9436545bfa0a6768cc9d745b19c1163ef37bbcaca6d2b6f7e3f26a2a6e6
|
Provenance
The following attestation bundles were made for trame_mui-1.0.0.tar.gz:
Publisher:
test_and_release.yml on Kitware/trame-mui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trame_mui-1.0.0.tar.gz -
Subject digest:
37a8a25a5f8829b057034fe5586ff2933176037078470ef5d63172e36c6e15e8 - Sigstore transparency entry: 2762726904
- Sigstore integration time:
-
Permalink:
Kitware/trame-mui@0ac4898225f0afd14ebdf02132da6597b2d52724 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Kitware
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_release.yml@0ac4898225f0afd14ebdf02132da6597b2d52724 -
Trigger Event:
push
-
Statement type:
File details
Details for the file trame_mui-1.0.0-py3-none-any.whl.
File metadata
- Download URL: trame_mui-1.0.0-py3-none-any.whl
- Upload date:
- Size: 2.3 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94f92bc7bc98d9645fdfa9049ce8425a8970da4b8d808251ba9abdb268efca33
|
|
| MD5 |
f1443ebd8ddd91498340b33c1d55f223
|
|
| BLAKE2b-256 |
655ce0556e8dddb2155489a16bf0b062b68793ed7fa09f7bd7ff138848f15454
|
Provenance
The following attestation bundles were made for trame_mui-1.0.0-py3-none-any.whl:
Publisher:
test_and_release.yml on Kitware/trame-mui
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trame_mui-1.0.0-py3-none-any.whl -
Subject digest:
94f92bc7bc98d9645fdfa9049ce8425a8970da4b8d808251ba9abdb268efca33 - Sigstore transparency entry: 2762727032
- Sigstore integration time:
-
Permalink:
Kitware/trame-mui@0ac4898225f0afd14ebdf02132da6597b2d52724 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/Kitware
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test_and_release.yml@0ac4898225f0afd14ebdf02132da6597b2d52724 -
Trigger Event:
push
-
Statement type: