4 ms·
Microdot creator here. Happy to answer any questions about Microdot if you have any!
by miguelgrinberg 3y ago
Microdot creator here. Happy to answer any questions about Microdot if you have any!
- szszrk 3y agoI love your docs - went through a major part of it on a mobile yesterday and basically understood how things work. Which is a nice result, as I usually don't code at all, sometimes script. I felt similar simplicity with a few python projects before (Flask included), but then noticed it was just a facade of "weird". This one gives me those vibes again and I want to find out if it will work out for some status pages I'm thinking of :) Great work.
- makin 3y agoYou have some performance comparisons, but I'd like to see a table of the features it has over the mainstream frameworks. Is everything in the list at the top of the article something neither Flask nor FastAPI offer?
- miguelgrinberg 3y agoThe main thing that none of the frameworks you know offer is being small enough to also work under MicroPython on $5 microcontrollers. I created Microdot a few years ago when I wanted to have a web interface to configure a thermostat that I built to control the heating in my house.
- freetonik 3y agoThis is pretty cool! Always happy to see simple, small and performant frameworks. I know it's still young, but do you know if any companies or communities are already using it?
- miguelgrinberg 3y agoIt has some traction in the MicroPython community, used with IoT projects running on microcontrollers.
- iamcreasy 3y agoInteresting. So the entire library is in these 11 files under src/microdot?
- miguelgrinberg 3y agoYep!
- fantasybroker 3y agoThanks for posting this! I am not planning any new projects but this is a cool example of implementing a micro-framework in Python. Might just use it as a reference to build my own. As a side note, I noticed you have Flask tutorials, it could be interesting to make a tutorial on writing a framework from scratch using Microdot as a production ready example.
- agumonkey 3y agowhat about a microtutorial series in 2 very small parts ? ;) ps: jokes aside, thanks for the project, it's gonna be nice to experiment with embedded python using it
- b800h 3y agoDid you name it after the LSD delivery mechanism?
- pryelluw 3y agopyATL organizer here. I was looking for a project to write a talk about and this is perfect. Thanks for sharing it. If you’re ever in the Atlanta area please don’t hesitate to reach out. We’d love to have you hang out.
- miguelgrinberg 3y agoThanks, will keep it in mind!
- 10000truths 3y agoThe library looks quite similar to aiohttp (asyncio web server with route decorators and WebSocket support). Is there a reason to use one over the other if you're not using MicroPython? A feature comparison and/or benchmarks would be great.