What is the easiest Python web application framework to get started, for general use?

What is the easiest Python web application framework to get started, for general use?

Referring to the simplest - I mean the one with a short learning curve / time, at least to use it for fairly simple applications. I used to work on non-trivial Ruby on Rails projects, so I can’t study a more complex structure, just for this particular application I don’t want to spend a lot of time studying the structure that I use - since it is more of an experimental application for testing ideas - see below to learn more about this. If it turns out that the idea of ​​the application is useful, I have no problem in later switching to another structure and rewriting the entire application in it, having studied this structure correctly.

I want to create a small web application - a personal productivity tool. At first, at least, it will be only for my personal use, although later I can consider the possibility of opening it for use by other people in any conditions. Right now, I just want to prototype an idea, and then use it like I do on a day to day basis for a while to see if the application is really useful or not for my productivity. By "general use" (in the title of this question) I mean that the proposed structure of Python web applications should not be specialized for any particular area, for example, Zope may (not sure) be more suitable for creating a CMS (Content Management System ) In addition, the framework should preferably not impose restrictions on what I can do, with the exception of any restrictions that may be inherent or ubiquitous for all web application infrastructures. (As an example of this last statement, the HTTP request / response cycle is, I believe, common to all, so all web applications, whether in Python or not, set this restriction for the user / developer that they must implement their application in this style. Oh yes, and the framework should support the creation of supported web application databases (which I suppose most of them do, but mention it anyway.) I should mention that I tried CherryPy a bit (with SQLite) - not yet enough to decide on Whether it comes or not, there have also been some errors that I am working on resolving, but looking for other suggestions anyway.

Thanks for any suggestions.

+4
source share
5 answers

I think you will find web2py one of the easiest to set up, learn, and use (there are basic goals among them). This simplifies the simplest things (and even many complex things), but at the same time it has great power and flexibility. It was inspired by Rails , so your introduction to Rails can make it even easier. If you have any questions, there is a very useful <...

InfoWorld has a recent review: [ Overview | web2py ]. And a recent presentation.

+7
source

Django is by far the most popular. The documentation is great to help you get up and running.

+5
source

Here are some of them "in my brain" Python web frameworks

All of these lack ORM, but you can use one of your options (sqlalchemy, Storm), etc.

+3
source

web.py is probably the easiest.

+3
source

Plone is probably the easiest, but Django is the most popular. It is also very well documented.

0
source

All Articles