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.
我喜欢sinatra框架,但可能必须在python中工作。一个快速的网络搜索发现了一些python等价物,包括itty,flask和juno。
I'd like to know people's experience of these, or other sinatra equivalents. Which would you recommend?
我想知道人们对这些或其他sinatra等同物的体验。你会推荐哪个?
1 个解决方案
#1
38
Okay. So I'm biased because I'm the author of Flask, but here something to help you make the pick:
好的。所以我有偏见因为我是Flask的作者,但这里有一些东西可以帮助你做出选择:
- 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.
itty - 非常小的框架,如果你想要一个文件安装,Bottle可能是一个更稳定的选择。
烧瓶 - 新的和积极开发的,形状类似于Sinatra,但也有几点不同。 SQLAlchemy,CouchDB等的大量扩展。
朱诺 - 一年没有更新。通常不是最好的标志。
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.
除了你提到的那些,还有与Flask相似但更简约的瓶子。与Flask不同,它还从头开始重新实现所有内容,而不是像Werkzeug这样的独立基础。
Other alternatives is web.py, one of the first microframeworks ever. Same rule as bottle: re-implements everything from the ground up.
其他替代方案是web.py,这是有史以来第一个微框架之一。与瓶子相同的规则:从头开始重新实施一切。
#1
38
Okay. So I'm biased because I'm the author of Flask, but here something to help you make the pick:
好的。所以我有偏见因为我是Flask的作者,但这里有一些东西可以帮助你做出选择:
- 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.
itty - 非常小的框架,如果你想要一个文件安装,Bottle可能是一个更稳定的选择。
烧瓶 - 新的和积极开发的,形状类似于Sinatra,但也有几点不同。 SQLAlchemy,CouchDB等的大量扩展。
朱诺 - 一年没有更新。通常不是最好的标志。
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.
除了你提到的那些,还有与Flask相似但更简约的瓶子。与Flask不同,它还从头开始重新实现所有内容,而不是像Werkzeug这样的独立基础。
Other alternatives is web.py, one of the first microframeworks ever. Same rule as bottle: re-implements everything from the ground up.
其他替代方案是web.py,这是有史以来第一个微框架之一。与瓶子相同的规则:从头开始重新实施一切。