https://github.com/pytauri/example-nicegui-app
https://github.com/pytauri/example-nicegui-app
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pytauri/example-nicegui-app
- Owner: pytauri
- License: apache-2.0
- Created: 2025-01-26T15:15:18.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T10:16:59.000Z (over 1 year ago)
- Last Synced: 2025-06-06T08:07:26.874Z (about 1 year ago)
- Language: Python
- Size: 746 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PyTauri + NiceGui
> Make sure you have already installed `rust`, `Python`, `uv`, Tauri Prerequisites.
>
> You can find that in tutorial section in PyTauri Documentation.
Clone this repository and `cd` into it first.
## Standalone
```bash
# activate virtual environment
uv venv --python-preference only-system
source .venv/bin/activate
# install the example package
export PYTAURI_STANDALONE=1
# or powershell: $env:PYTAURI_STANDALONE=1
uv pip install --reinstall -e .
cargo tauri dev --no-dev-server-wait
```
## Python
```bash
# activate virtual environment
uv venv --python-preference only-system
source .venv/bin/activate
# or powershell: .venv\Scripts\Activate.ps1
# install the example package
# (need some time to compile rust code,
# you can pass `--verbose` to see the progress)
uv pip install --reinstall -e .
# run the example
python -m nicegui_app
```