| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
A sample of integrating Flutter Desktop Apps with Python by wrapping Python functionality into gRPC service and bundling it as Flutter asset file with self-contained/standalone binary executable (it includes Python runtime and all required dependencies to be independent from local installation).
The app sends int array to Python, has is sorted and received back.
For convenience there 5 VSCode launch configurations in /app folder (Flutter project) that allow to run client app and server in different modes. For Web client gRPC proxy is used, native clients connect directly. They have been tested on macOS, on other platforms they might require fixing (specifically the commands issued in .vscode/tasks.json)
chmod 755 ./starter-kit/prepare-sources.sh; chmod 755 ./starter-kit/bundle-python.sh
./starter-kit/prepare-sources.sh --proto ./example/service.proto --flutterDir ./example/app --pythonDir ./example/server ./starter-kit/bundle-python.sh --flutterDir ./example/app --pythonDir ./example/server OR ./starter-kit/bundle-python.sh --flutterDir ./example/app --pythonDir ./example/server --nuitka
| Back | FazBrowse Home | New Git URL |