flask VS Pyramid

Compare flask vs Pyramid and see what are their differences.


The Python micro framework for building web applications. [Moved to: https://github.com/pallets/flask] (by mitsuhiko)
Our great sponsors
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • SaaSHub - Software Alternatives and Reviews
flask Pyramid
7 16
56,801 3,863
- 0.6%
9.3 7.5
about 2 years ago about 1 month ago
Python Python
BSD 3-clause "New" or "Revised" License BSD-derived (Repoze)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of flask. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning flask yet.
Tracking mentions began in Dec 2020.


Posts with mentions or reviews of Pyramid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-07.
  • What's the most htmx-ish language for the server side?
    5 projects | /r/htmx | 7 May 2023
    Pyramid (https://trypyramid.com/) is nice in that it has URL dispatch predicates, like @view_config(header="HX-Target-Name=foo") which lets you have HTMX-specific view functions, which return only what is needed
  • Installing Python3 in Linux
    9 projects | dev.to | 28 Mar 2022
    Building, constructing, and maintaining websites is a broad definition of web development. A front-end, which communicates with the client, and a back-end, which contains business logic and interacts with a database, are typical components of web development. Python also supports quite a percentage of the total websites, web apps and software running in the world wide web. The libraries that are applied in web development include: Django, Flask, Pyramid and Turbogears and Web2Py
  • The Best Python Web Frameworks🤩
    12 projects | dev.to | 7 Mar 2022
  • Is the Pyramid framework dead?
    9 projects | /r/Python | 6 Dec 2021
    I've been looking for an alternative to Flask and found Pyramid (https://github.com/Pylons/pyramid). API looks great, lots of good design, almost everything I'm looking for, but it looks like this project is near dead. Not much movement since release 2.0, last commit 15th March 2021 (https://github.com/Pylons/pyramid/graphs/contributors).
  • Can I use google cloud for free for non commercial purpose?
    3 projects | /r/googlecloud | 14 Nov 2021
    If your app is really small/short, you're only fetching crime data and rendering a static image, you can probably do it all with a Cloud Function. This way you don't even need to have nor learn about nor use full web frameworks like Flask, Django, Pyramid, etc. Just raw code plus an HTML template and perhaps a tiny bit of Flask/Jinja2 to render the template.
  • How to start a server with python framework Pyramid
    2 projects | dev.to | 28 Aug 2021
    This article shows how to start a simple server with Pyramid.
  • Python for web development: Flask basic skills.
    3 projects | dev.to | 12 Aug 2021
    Python is widely used for web development today. It has very rich frameworks like Django, Flask,Pyramid and Bottle to assist in the job.
  • The Top 5 Python Frameworks for Web Development
    3 projects | dev.to | 6 Apr 2021
    Pyramid is an excellent web framework. It's one of the original web frameworks, and has been around a long time. It's got dozens of contributors, thousands of users, and is built by a group you can trust. Pyramid combines solid software engineering, smart development practices, and sensible defaults to make real-world web application development enjoyable.
  • How do you learn a framework like Django?
    2 projects | /r/djangolearning | 15 Feb 2021
    I then helped add a feature to a website using Pyramid and did a long tutorial using Flask. Using frameworks that don't have everything built helped me better understand what was going on under the covers in Django.

What are some alternatives?

When comparing flask and Pyramid you can also consider the following projects:

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

Flask - The Python micro framework for building web applications.

CherryPy - CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev

web2py - Free and open source full-stack enterprise framework for agile development of secure database-driven web-based applications, written and programmable in Python.

Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.

Django - The Web framework for perfectionists with deadlines.

Graphene - GraphQL framework for Python

justpy - An object oriented high-level Python Web Framework that requires no frontend programming

TurboGears - Python web framework with full-stack layer implemented on top of a microframework core with support for MongoDB, Pluggable Applications and autogenerated Admin

mypy-django - PEP-484 type hints bindings for the Django web framework

Werkzeug - The comprehensive WSGI web application library.

AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python