Text of wiki.python.org › python › web › WebFrameworks.html as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

Web Frameworks - Python Wiki

Python Wiki Python Wiki / Python Wiki / Web Development / Web Frameworks View as Markdown Web Frameworks ¶ Legacy Wiki Page This page was migrated from the old MoinMoin-based wiki. Information may be outdated or no longer applicable. For current documentation, see python.org . 1. Web Frameworks for Python ¶ A Web framework is a collection of packages or modules which allow developers to write Web applications (see WebApplications ) or services without having to handle such low-level details as protocols, sockets or process/thread management.

The majority of Web frameworks are exclusively server-side technology, although, with the increased prevalence of AJAX, some Web frameworks are beginning to include AJAX code that helps developers with the particularly tricky task of programming (client-side) the user’s browser. At the extreme end of the client-side Web Frameworks is technology that can use the web browser as a full-blown application execution environment (a la gmail for example): see Web Browser Programming for details.

As a developer using a framework, you typically write code which conforms to some kind of conventions that lets you “plug in” to the framework, delegating responsibility for the communications, infrastructure and low-level stuff to the framework while concentrating on the logic of the application in your own code. This “plugging in” aspect of Web development is often seen as being in opposition to the classical distinction between programs and libraries, and the notion of a “mainloop” dispatching events to application code is very similar to that found in GUI programming .

Generally, frameworks provide support for a number of activities such as interpreting requests (getting form parameters, handling cookies and sessions), producing responses (presenting data as HTML or in other formats), storing data persistently, and so on. Since a non-trivial Web application will require a number of different kinds of abstractions, often stacked upon each other, those frameworks which attempt to provide a complete solution for applications are often known as full-stack frameworks in that they attempt to supply components for each layer in the stack.

Many frameworks now provide an element of customization in their support for the above activities and abstractions, utilizing components in that they provide abstractions only for certain specific things. As a result, it can be possible for you to build your own full-stack framework almost entirely from existing components. 1.1. Popular Full-Stack Frameworks ¶ A web application may use a combination of a base HTTP application server, a storage mechanism such as a database, a template engine, a request dispatcher, an authentication module and an AJAX toolkit.

These can be individual components or be provided together in a high-level framework. These are the most popular high-level frameworks. Many of them include components listed on the WebComponents page. Name Latest version Latest update date description Django 5.2 2025-04-02 The Web framework for perfectionists (with deadlines). Django makes it easier to build better Web apps more quickly and with less code. Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

It lets you build high-performing, elegant Web applications quickly. Django focuses on automating as much as possible and adhering to the DRY (Don’t Repeat Yourself) principle. The last release supporting Python 2.7 is 1.11 LTS. See Django Reflex 0.7.9 2025-04-29 Reflex is the open-source framework empowering Python developers to build web apps faster. Build both your frontend and backend in a single language, Python (pip install reflex), with no JavaScript or web development experience required.

Build anything from internal data and AI apps to large public-facing web apps and deploy with a single command (reflex deploy). Reflex provides high-level UI components, easy deployment and AI agents to create, edit, and deploy apps 10x faster than traditional web development while also remaining extensible through custom components that can fully leverage JavaScript ’s expressivity. Masonite 4.20.3 2025-03-02 Masonite is the developer focused dev tool with all the features you need for the rapid development you deserve.

Masonite is perfect for beginners getting their first web app deployed or advanced developers and businesses that need to reach for the full fleet of features available. Masonite works hard to be fast and easy from install to deployment so developers can go from concept to creation in as quick and efficiently as possible. Use it for your next SaaS! Try it once and you’ll fall in love. TurboGears 2.4.3 2020-03-01 the rapid Web development webframework you’ve been looking for.

Combines SQLAlchemy (Model) or Ming (MongoDB Model) , Kajiki (View) , Repoze and ToscaWidgets2 . Create a database-driven, ready-to-extend application in minutes. All with designer friendly templates, easy AJAX on the browser side and on the server side, with an incredibly powerful and flexible Object Relational Mapper (ORM), and with code that is as natural as writing a function. After reviewing the Documentation , check out the Tutorials web2py 2.27.1 2023-11-16 * Python 2.7, Python 3.5+, PyPy * All in one package with no further dependencies.

Development, deployment, debugging, testing, database administration and maintenance of applications can be done via the provided web interface, but not required. * web2py has no configuration files, requires no installation, can be run off a USB drive. * web2py uses Python for the Model, View and the Controller * Built-in ticketing system to manage errors * Internationalization engine and pluralization, caching system * Flexible authentication system (LDAP, MySQL, janrain etc) * NIX(Linux, BSD), Windows, Mac OSX, tested on EC2, Webfaction * works with MySQL, PostgreSQL, SQLite , Firebird, Oracle, MSSQL and the Google App Engine via an ORM abstraction layer. * Includes libraries to handle HTML/XML, RSS, ATOM, CSV, RTF, JSON, AJAX, XMLRPC, WIKI markup. * Production ready, capable of upload/download of very large files * Emphasis on backward compatibility.

Note: official docs state that this is not recommended for new projects, consider using py4web (a.k.a. web3py) instead. See below for some other arguably less popular full-stack frameworks! 1.2. Other Full-Stack Frameworks ¶ These frameworks also provide most, if not all of the technology stack. However, they are regarded as not being as popular as the frameworks listed above. Name Latest version Latest update date description CubicWeb 4.10.0 2025-04-09 a semantic web application framework featuring a query language, a selection+view mechanism, multiple databases, security, workflows, reusable components, etc.

Dash 3.0.4 2025-04-24 Dash is the most downloaded, trusted framework for building ML & data science web apps. Django-hotsauce 1.4 2021-11-02 Scalable and heterogeneous web toolkit sitting on top of Django and others. Django-hotsauce is a pragmatic fork of Django 1.x API to develop scalable and extensible WSGI applications in Python 3. Grok 6.0 2025-04-17 built on the existing Zope 3 libraries, but aims to provide an easier learning curve and a more agile development experience.

It does this by placing an emphasis on convention over configuration and DRY (Don’t Repeat Yourself). Jam.py 7.0.53 2025-04-08 Jam.py primary goal is to allow development of database-driven business web applications easily and quickly, based on DRY (another “Don’t Repeat Yourself”) principle, with emphasis on CRUD. Jam.py has no configuration files, requires no installation other than pip or unzip, can be run as a portable App.

Pylons 1.0.3 2018-01-12 a lightweight Web framework emphasizing flexibility and rapid development. It combines the very best ideas from the worlds of Ruby, Python and Perl, providing a structured but extremely flexible Python W

The rest of this page is on the live site.