• odie5533 2 days ago

    https://github.com/miguelgrinberg/microdot

      The impossibly small web framework for Python and MicroPython.
    • harrisonerd 2 days ago

      Microdot is an awesome web framework, so, why choose MicroPie for simplicity? No need to learn decorators or request parsing manually. Everything is handled inside the class, making code organized and readable. Quick prototyping with minimal boilerplate code. Straightforward Routing: Just define methods in your class, and they automatically map to routes. Built-in Session Management: No need to manually manage cookies; sessions are handled internally. Jinja2 Templating Support: Makes it easier to work with dynamic HTML without manually constructing responses.

    • undefined 3 days ago
      [deleted]
      • 7bit 3 days ago

        So this is a copy of Cherry pie which is a copy of Flask?

        I take Flask over bof of the my thank you.

        • harrisonerd 2 days ago

          Flask is better for most use cases forsure, however, CherryPy (2002) was around a LONG time before Flask (2010) so that's not entirely accurate....

          The main difference between these exisiting frameworks is the routing. MicroPie using automatic routing based on methods. This means you don't have to use a route decorator or similar. This idea was from circuits.web (originally released in between CherryPy and Flask).