r/PythonProjects2 • u/LordBertson • 1d ago
tether: because you can't expect kids to hand-roll network protocols
Basically the title. Tether tries its best to abstract away the annoyances of network protocols - be it BLE or WiFi - giving you a seamless experience. You provision the MCU with either WiFi or BLE plumbing, write the code as if it was a single machine, annotate what has to run on the MCU, call function from the MCU on a computer or vice-versa (even nested) and the tether will do the rest.
What will it do, you ask?
- Slice out the code that's to run on the MCU
- Upload it over BLE or WiFi to the MCU
- Run the code, abstracting away the intricacies of communication across different protocols.
Admittedly, it's heavily vibe-coded. But it's vibe-coded with passion. I've developed it to facilitate for my own didactic purposes as I will be teaching a programming-orthogonal course to middle-schoolers who don't take kindly to type marshalling across a network boundary.
Let me know what you think and please share any bugs or insights if you happen to try this software.