Overview 10 Best Python Web Framework
Python is an opens source programming language that lets you work more quickly and integrate your systems more effectively. You can learn to use Python and see almost immediate gains in productivity and lower maintenance costs. Python runs on Windows, Linux/Unix, Mac OS X, and has been ported to the Java and .NET virtual machines. Python is an interpreted, high-level programming language, object-oriented, and powerful server-side scripting language for the Web.
A Web framework is a collection of packages or modules which allow developers to write Web applications without having to handle such low-level details as protocols, sockets or process/thread management. The framework aims to alleviate the overhead associated with common activities performed in Web development. If you’re thinking about starting a web project using phyton, here is lists of popular phyton web framework that you can used to speed up your webdevelopment projects. I am not claiming any expertise with these frameworks, if I missed something, feel free to adding on comments.
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Developed four years ago by a fast-moving online-news operation, Django was designed to handle two challenges: the intensive deadlines of a newsroom and the stringent requirements of the experienced Web developers who wrote it. It lets you build high-performing, elegant Web applications quickly.
If your goal is to start building traditional web sites without having to spend time deciding how to structure your project or which ORM, templating engine, etc, then django is the best choice, because it has well-known solutions for common needs and has a large community providing help and reusable applications.
Website: http://www.djangoproject.com
License: BSD License
Flask
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good intentions. It’s intended for small scale applications and was developped with best intentions in mind. If your goal is to produce minimalist web applications with few pre-made design decisions, then Flask is for you.
Website: http://flask.pocoo.org
License: BSD License
Pyjamas
Pyjamas Desktop allows the exact same python application source code to be executed as a Desktop application. Since Pyjamas 0.6 Pyjamas Desktop has been integrated into the Pyjamas Release. Pyjamas Desktop is conceptually equivalent to Adobe AIR. Unlike Adobe AIR, however, there are three separate runtimes for Pyjamas-Desktop. For Windows, the use of Trident aka MSHTML, which comes pre-installed on Windows (as part of IE) means that apart from python itself, there is very little extra to download. Pyjamas allow us to write web applications in python - a readable programming language - instead of in HTML and Javascript, both of which become quickly unreadable for even medium-sized applications.
Website: http://pyjs.org
License: Apache Software License
Pylons
Pylons is a lightweight web framework emphasizing flexibility and rapid development. Pylons combines the very best ideas from the worlds of Ruby, Python and Perl, providing a structured but extremely flexible Python web framework. It’s also one of the first projects to leverage the emerging WSGI standard, which allows extensive re-use and flexibility — but only if you need it. Out of the box, Pylons aims to make web development fast, flexible and easy.
Website: http://pylonshq.com
License: BSD License
Web2py
Web2pyTM is free open source full-stack framework for rapid development of fast, scalable, secure and portable database-driven web-based applications. Written and programmable in Python. Web2pyTM created by a community of professionals and University professors in Computer Science and Software Engineering. It Easy to run, requires no installation and no configuration, runs on Windows, Mac, Unix/Linux, Google App Engine, Amazon EC2, and almost any web hosting via Python 2.4/2.5/2.6/2.7, or Java with Jython.
Website: http://web2py.com
License: LGPLv3 License
Web.py
web.py is a web framework for Python that is as simple as it is powerful. web.py is in the public domain; you can use it for whatever purpose with absolutely no restrictions. web.py was originally published while Aaron Swartz worked at reddit.com, where the site used it as it grew to become one of the top 1000 sites according to Alexa and served millions of daily page views. “It’s the anti-framework framework. web.py doesn’t get in your way,” explained founder Steve Huffman.
Website: http://webpy.org
License: -
Zope
Zope is an open source web application server primarily written in the Python programming language. It features a transactional object database which can store not only content and custom data, but also dynamic HTML templates, scripts, a search engine, and relational database (RDBMS) connections and code. Zope can help you create dynamic web applications such as portal and intranet sites quickly. Zope comes with everything you need including support for membership, search, and news.
Website: http://www.zope.org
License: Zope Public License
Tornado
Tornado is one of Facebook’s open source technologies. Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed. The FriendFeed application is written using a web framework that looks a bit like web.py or Google’s webapp, but with additional tools and optimizations to take advantage of the underlying non-blocking infrastructure.
The framework is distinct from most mainstream web server frameworks (and certainly most Python frameworks) because it is non-blocking and reasonably fast. Because it is non-blocking and uses epoll, it can handle thousands of simultaneous standing connections, which means it is ideal for real-time web services. We built the web server specifically to handle FriendFeed’s real-time features — every active user of FriendFeed maintains an open connection to the FriendFeed servers.
Website: http://www.tornadoweb.org
License: Apache Licence, Version 2.0
Bottle
Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. It is distributed as a single file module and has no dependencies other than the Python Standard Library.
Website: http://bottle.paws.de
License: MIT Licence
Turbogears
TurboGears is a web framework written in Python that combines best-of-breed technologies to offer a developer rapid initial ramp-up, an even learning curve, and scalability as your project grows. TurboGears is built on a stack of technologies that allows us to focus on the parts that are important only to TurboGears. Although TurboGears provides fully featured ORM (Object Relational Mapper), Templating Languages, and URL dispatch mechanisms, the codebase remains less than 2000 lines of executable code.
Website: http://www.turbogears.org
License: MIT License
1 Comment
amlker
01.23.2011
Pylons and repoze.bfg has been merged and are currently developed as the Pyramid project.
Some flask app-engine friendly python frameworks are missing like: google-app-engine-oil, tipfy, webapp, cherryPy… (yep, i’ve seen “best” in the title, but it would be nice to put some links to other python frameworks, just to spread info about them)
There are no trackbacks to display at this time.