Pyramid is a web microframework for Python 2 and 3. It makes real-world web application development and deployment more fun, more predictable, and more productive.
Key Features
- Fast in operation.
- Function Decorators.
- Predicates – tests which returns True or False. Two different types of predicates exist in Pyramid: a view predicate and a route predicate. View predicates are attached to view configuration and route predicates are attached to route configuration.
- Renderers – a serializer which converts non-Response return values from a view into a string, and ultimately into a response, usually through view configuration.
- Asset Specifications – a colon-delimited identifier for an asset. The colon separates a Python package name from a package subpath. For example, the asset specification my.package:static/baz.css identifies the file named baz.css in the static subdirectory of the my.package Python package.
- Events and Subscribers – use events to coordinate actions.
- Configure applications with decorators – keep your configuration right next to your code.
- Build single-file applications which makes deployment easier.
- Use multiple templating systems, even in the same project.
- Provides flexible, consistent, easy to use tools for generating URLs.
- Flexible tools for serving JavaScript, CSS, images and other static assets.
- Automatically detect changes you make to template files and code, so your changes are immediately available in your browse.
- Add-ons extend the core of the framework with extra functionality.
- Static assets are located using asset specifications, strings that contain reference both to a Python package name and a file or directory name.
- Built-in support for HTTP sessions, so you can associate data with specific users between requests. Plug in your own custom sessioning system.
- Internationalization-related features in its core: localization, pluralization, and creating message catalogues from source files and templates.
- Easy way to cache the results of slow or expensive views
- Fully compatible with Python 3.
- Good documentation is available.
Website: trypyramid.com
Support: Resources, GitHub Code Repository
Developer: Agendaless Consulting and a team of contributors
License: BSD-derived Repoze Public License
Pyramid is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Best Python Micro Frameworks | |
|---|---|
| Flask | Hugely popular microframework based on Werkzeug and Jinja2 |
| FastAPI | Web framework for building APIs |
| Starlette | Lightweight ASGI framework/toolkit |
| aiohttp | Asynchronous HTTP client/server for asyncio and Python |
| Sanic | Web server and web framework |
| Falcon | Build cloud APIs, smart proxies, and app backends |
| Quart | Web microframework based on Asyncio |
| Pyramid | Start small, finish big, stay finished framework |
| Bottle | Fast, simple and lightweight WSGI micro web framework |
| Chalice | Python Serverless Microframework for AWS |
| CherryPy | Mature, minimalist, Python object-oriented web framework |
| TurboGears | Hybrid framework acting as a Full Stack framework or Microframework |
| Quixote | Aimed at sites where complex programming is required |
| Klein | Micro-framework for developing production-ready web services with Python |
| circuits | Lightweight event driven application framework |
| Clastic | Functional web framework |
| Hug | Make developing Python driven APIs as simple as possible |
| MicroPie | Ultra-micro ASGI Python web framework |
| Litestar | Powerful, lightweight, and flexible ASGI framework |
| BlackSheep | Asynchronous Python web framework |
| Robyn | Python web framework designed for high performance |
| Microdot | Small web framework for Python and MicroPython |
Read our verdict in the software roundup.
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. Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form. |

