trame-tweakpane
TweakPane widgets for trame made easy.
License
trame-tweakpane is made available under the MIT License. For more details, see LICENSE. This license has been chosen to match the one used by tweakpane which that project expose to trame.
Installation
pip install trame-tweakpane
Usage
from trame.widgets import tweakpane
with layout:
with tweakpane.Pane(title="Welcome", expanded=True, style="width: 200px;"):
tweakpane.Binding(name="a", default=1, options="{ min: -6, max: 10, step: 0.2 }")
with tweakpane.Folder(title="Sub-section"):
tweakpane.Binding(name="b", default="Hello")
tweakpane.BladeSeparator()
tweakpane.Binding(name="c", default=0.465, options="{ label: 'Another number' }")
with tweakpane.Tabs(pages="['First', 'Second', 'Third']"):
with tweakpane.Tab(index=0):
tweakpane.Binding(name="d", default="something")
with tweakpane.Tab(index=1):
tweakpane.Button(label="Click =>", title="Me", click=(print, "['clicked']"))
with tweakpane.Tab(index=2):
tweakpane.Binding(name="f", default="something")
Development
Build and install the Vue components
cd vue-components
npm i
npm run build
cd -
Install the application
pip install -e .
Metadata
Release files for trame-tweakpane 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| trame_tweakpane-0.1.3.tar.gz | 38.6 kB | Without provenance | Details for trame_tweakpane-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| trame_tweakpane-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for trame_tweakpane-0.1.3-py3-none-any.whl |
Total release size: 79.4 kB
Release files / trame_tweakpane-0.1.3.tar.gz
| Download URL | trame_tweakpane-0.1.3.tar.gz |
|---|---|
| Size | 38.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8c79a02a0b2d6ec49951ade62dc6976522cd76e8ff607dc7384b96aebf6f8ae0
|
|
BLAKE2b-256 checksum How to use checksums |
ece0323d4b72ac51b85aa45aa7cafbd99d3d6d7b807d4f91d7b12ba628b617a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / trame_tweakpane-0.1.3-py3-none-any.whl
| Download URL | trame_tweakpane-0.1.3-py3-none-any.whl |
|---|---|
| Size | 40.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb7c45c03a2ebeff8edea862237df23c78546bc6662ce768715a3161b2339db8
|
|
BLAKE2b-256 checksum How to use checksums |
d1eecb5c33cc87b8f1d6b411d356651738f738bbc5820a8ca8ad126302d01449
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for trame-tweakpane 0.1.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.