Development Tools

13 Best Free and Open Source Python Web Frameworks

Python is an increasingly popular programming language. It ranks very highly on sites listing the popularity of programming languages, such as the TIOBE Index, IEEE Spectrum ranking, and the PYPL PopularitY of Programming Language.

The prominence of Python is, in part, due to its flexibility, with the language frequently used by web and desktop developers, system administrators, data scientists, and machine learning engineers. It’s easy to learn and powerful to develop any kind of system with the language. Python’s large user base offers a virtuous circle. There’s more support available from the open source community for budding programmers seeking assistance.

One of the types of software that’s important for a web developer is the web framework. A framework “is a code library that makes a developer’s life easier when building reliable, scalable, and maintainable web applications” by providing reusable code or extensions for common operations. By saving development time, developers can concentrate on application logic rather than mundane elements.

There are a respectable number of open source Python web frameworks available to download. Django receives the most coverage, but our other recommendations may be better suited for your requirements. Here’s our verdict captured in a legendary LinuxLinks-style ratings chart.

Ratings chart

Click the links in the table below to learn more about each framework.

Python Frameworks
DjangoHigh-level web application framework
DashBuild analytical web applications without JavaScript
TornadoFramework, scalable web server, and asynchronous networking library
TurboGearsFramework based on the ObjectDispatch paradigm
MasoniteDev tool with all the features needed for rapid development
ReflexLibrary to build full-stack web apps in pure Python
ZopeObject-oriented web application server
CubicWebSemantic web framework
ReahlPython-only web framework
django-hotsauceRapid web application development and testing
Jam.pyWeb front-end application generator
GrokWeb framework based on Zope Toolkit technology
web2pyFull-featured, full-stack framework for rapid development

This article has been revamped in line with our recent announcement.

Background to Python

Python is a general-purpose high-level programming language. Its design philosophy emphasizes programmer productivity and code readability. It has a minimalist core syntax with very few basic commands and simple semantics, but it also has a large and comprehensive standard library, including an Application Programming Interface (API).

It features a fully dynamic type system and automatic memory management, similar to that of Scheme, Ruby, Perl, and Tcl, avoiding many of the complexities and overheads of compiled languages. The language was created by Guido van Rossum in 1991, and continues to grow in popularity, in part because it is easy to learn with a readable syntax. The name Python derives from the sketch comedy group Monty Python, not from the snake.

Learn Python with our recommended free books and free tutorials.

Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Know a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Deryk Barker
Deryk Barker
7 years ago

No mention of Flask? https://flask.pocoo.org/

I did use zope some time ago (maybe 15 years) but they made an incompatible upgrade at some point with IMHO insufficient migration tools available. They may have improved since, but once bitten…