Yanked
This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: moved to tgzr index
tgzr.shell
tgzr workstation runtime
Create a Shell Application plugin:
There are 3 types or shell app you can provide:
- NiceGUI App:
- Insall
tgzr.shell[nicegui] - Use
tgzr.shell.app_sdk.nice_app.ShellNiceApp
- Insall
- qtpy App:
- Insall
tgzr.shell[qt]will installqtpyandPySide6 - Note: If you prefer using PyQt, you can install
tgzr.shell+qtpy+PyQt6 - Use
tgzr.shell.app_sdk.qtpy.ShellQtpyApp
- Insall
- Executable file App:
- Simply install
tgzr.shell - Use
tgzr.shell.app_sdk.exe_app.ShellExeApp
- Simply install
Nice app example
To implement a NiceGUI app plugin, you need to:
- install
tgzr.shell[nicegui] - create an instance of a
tgzr.shell.app_sdk.ShellApp - add an entry point in the group "tgzr.shell.app_plugin" pointing to that app
Here is a minimalist workging example:
your_package/app.py:
from . import run_native, run_dev, pages from tgzr.shell.app_skd.nice_app import ShellNiceApp app = ShellNiceApp( "app_name", run_native_module=run_native, run_dev_module=run_dev, static_file_path=Path(pages.__file__).parent / "static_files", )your_package/pages.py:
from nicegui import ui @ui.page("/", title="My App") async def main(): ui.label("Hello world! 😛")your_package/run_native.py:
if __name__ == "__main__": from .app import app app.run_app(native=True, reload=False)your_package/run_dev.py:
if __name__ in {"__main__", "__mp_main__"}: from .app import app app.run_app(native=False, reload=True)pyproject.toml:
[project.entry-points."tgzr.shell.app_plugin"] my_shell_app = "your_package:app"
Metadata
Release files for tgzr.shell 0.102
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tgzr_shell-0.102.tar.gz | 48.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tgzr_shell-0.102-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 115.2 kB
Release files / tgzr_shell-0.102.tar.gz
| Download URL | tgzr_shell-0.102.tar.gz |
|---|---|
| Size | 48.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2a3e72c3b8bdd86db7ff2b512290e8c8777832a2e63bb37f249be2c0c2dac9ab
|
|
BLAKE2b-256 checksum How to use checksums |
f3a040bda8915629e02c9d20c2047079240ae06031bbc09a4a8d522fcf1d6820
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"KDE neon","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / tgzr_shell-0.102-py3-none-any.whl
| Download URL | tgzr_shell-0.102-py3-none-any.whl |
|---|---|
| Size | 66.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a7161cd9de4e098274a9086aeca83c9ee3cde3e6f831df7803d13c7c3c56d399
|
|
BLAKE2b-256 checksum How to use checksums |
a80c49deb3d1fde7390ce2a6ef518d60dacc3d307a0256f71a1143e65972f600
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"KDE neon","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|