So, Finally decided to develop web application with Python as a programming language Right!!
Here I am going to mention some of the frameworks presents for developing web application easily without reinvent the wheel.
Pyramid – Flexible
Pyramid was born out of a merge between Pylons 1.0 and repoze.bfg. Pyramid comes with “batteries included” but doesn’t make any assumptions about the components of your site. The Pyramid community is growing fast. Documentation is outstanding and allows developers to make progress without having to rely on the community support. Pyramid strives to be minimalistic, fast and reliable. It was one of the first web frameworks to be compatible with Python 3.
Pyramid is great for:
- Getting started quickly
- Developers working on API projects
- Prototyping a concept
- Developing large web applications, such as a CMS or a KMS
Official Project Web Link – http://www.pylonsproject.org/
Bottle – Simple
Bottle is a simple micro framework that provides minimal tools out of the box (routing, templating and a small abstraction over WSGI). Bottle can run on Python 3.
Bottle is great for:
- Developers looking for flexibility
- Creating a web API
- People who want to build something really simple
Official Project Web Link – http://bottlepy.org/docs/dev/index.htm
Django – Powerful
Django is by far the largest Python-based web framework. It is supported by a large and active community. It comes with a powerful admin interface as well as many other features out of the box. Django offers model-based forms, has its own templating language, and has excellent documentation available.
Django is great for:
- Developers who like to share ideas with each other via online forums
- Developers who want to build something quickly with powerful built-in tools
Useful Django apps:
- South (for schema and data migrations)
- Django Celery
- Django Rest Framework or TastyPie
- Django Extensions
Official Project Web Link – https://www.djangoproject.com/
Flask – Nimble
Pradeep Gowda, with ENthEnergy showed off Flask. The source for this example is on GitHub.
Flask is a micro framework that was originally created as an April Fool’s joke that proved a single file framework could exist. It strives to be simple and small; the entire framework consists of a handful of modules. There is no skeleton to start from; instead, you start with a blank page. While flask doesn’t provide a lot out of the box, there are Flask extensions available to add in ORM, form validation, upload handling, etc.
Flask is great for:
- Learning programming
- Developers who care about best practices and “tasteful” code
- Developers who want to prototype something quickly
- Developers who need a standalone app
Official Project Web Link – http://flask.pocoo.org/
Popular combinations of framework templating and ORM include the following:
- Flask + Jinja2 + SQLAlchemy
- Flask + Mako + SLQLAlchemy
- Flask + Jinja2 + Peewee
- Flask + CouchDB