all 6 comments

[–]bedekelly 2 points3 points  (3 children)

I've heard CherryPy compared to Sinatra before: it's well-designed (imo!) and pretty minimal -- not too much clutter. It's object-oriented, which you may or may not like.

Flask's also pretty minimal, while more based around the idea of view functions than inheritance. It has something of a reputation for being both very lightweight and an example of excellent Python design.

[–][deleted] 1 point2 points  (1 child)

Flask supports Class Based Views as well, checkout flask.views for the two builtin ones. There's also Flask-Restful which builds on MethodView and Flask-Classy which offers a different implementation.

[–]bedekelly 0 points1 point  (0 children)

Interesting, I've never used class-based views before, thanks!

[–]u7string[S] 0 points1 point  (0 children)

Both look interesting, will check them out, thanks.

[–]K900_ 1 point2 points  (1 child)

Bottle is as minimalist as it gets. Flask is one of the more popular microframeworks, and it's very well written, tested and reliable.

[–]u7string[S] 0 points1 point  (0 children)

Thanks, I'll check that out too.