开发者

What python equivalent of Sinatra would you recommend? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

I like the sinatra framework, but might have to work in python. A quick web search has uncovered a few python equivalents including itty, flask and juno.

I'd like to know people's experience of these, or other s开发者_运维知识库inatra equivalents. Which would you recommend?


Okay. So I'm biased because I'm the author of Flask, but here something to help you make the pick:

  • itty - very minimal framework, Bottle is probably a more stable alternative if you want a single file installation.
  • Flask - new and actively developed, shaped similar to Sinatra but also differs in a few points. Large number of extensions for SQLAlchemy, CouchDB and more.
  • Juno - not updated for a year. Usually not the best sign.

Besides the ones you mentioned there is also Bottle which is similar to Flask but more minimalistic. Unlike Flask it also re-implements everything from ground up instead of building on an independent foundation like Werkzeug.

Other alternatives is web.py, one of the first microframeworks ever. Same rule as bottle: re-implements everything from the ground up.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜