maxim-saplin / flutter_python_starter Goto Github PK
View Code? Open in Web Editor NEWBundling Python code with Flutter Desktop apps as self-contained binary, interop with Python self-hosted gRPC service
License: MIT License
Bundling Python code with Flutter Desktop apps as self-contained binary, interop with Python self-hosted gRPC service
License: MIT License
So, this is not an issue, but rather question. Does python have access to connected USB devices? I'm mainly interested in desktop platforms. I have a python lib which does some USB device read/write ops and kinda wanted to bring it into standalone flutter desktop app.
this is a great project!! i am running something similar on windows with flutter managing a python process and talks to it via websockets and http, and i want to try this out.
can i ask a silly question - are we expected to run the .sh file on WSL in windows?
EDIT: nevermind I see we can install git bash windows.
// Give couple of seconds to make sure there're no exceptions upon lanuching Python server
await Future.delayed(const Duration(seconds: 2));
localhost
(local only) or [::]
(inbouind remote connection) will be used (server.add_insecure_port('[::]:50051')
)ios/Runner/Info.plist
to allow gRPC networking {
"name": "app (remote server, auto start)",
"type": "dart",
"request": "launch",
"program": "app/lib/main.dart",
"toolArgs": [
"--dart-define",
"useRemote=true",
],
"preLaunchTask": "start server",
//"postDebugTask": "stop server" // this one kills Flutter UI when doing hot restart, better keep server running to keep host restart working
},
I am getting this issue after creating a self-contained Python executable.
Failure while launching server process. It stopped right after starting. Exit code: 1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.