Coding

Pyramid – flexible Python web application framework

Pyramid is a web application framework designed to accommodate projects ranging from small services to larger applications with complex requirements. It provides a flexible core without requiring developers to adopt a particular database, template engine or application layout.

The framework supports different approaches to mapping incoming requests onto application code. URL dispatch associates request paths with routes, while traversal resolves resources through an application-defined hierarchy.

Pyramid’s configuration system allows components and policies to be assembled according to the needs of a particular project. Applications can begin with a small set of views and introduce authentication, rendering, internationalisation and other services as required.

This is free and open source software.

Key Features

  • URL dispatch and resource traversal for resolving incoming requests.
  • View configuration using decorators or imperative registration.
  • Route and view predicates for selecting handlers based on request characteristics.
  • Renderer system for converting application data into HTTP responses.
  • Support for multiple template engines within a single application.
  • Authentication and authorisation through configurable security policies.
  • Cross-Site Request Forgery protection using session-based or cookie-based tokens.
  • Session management with configurable storage and session factories.
  • Event subscribers for reacting to application and request lifecycle events.
  • Tweens for inserting middleware-like processing around view execution.
  • Static asset handling and package-based resource specifications.
  • Internationalisation and localisation utilities.
  • URL generation and customisable request methods.
  • Exception views and configurable HTTP error handling.
  • Extensible configuration system supporting reusable add-ons.

Website: github.com/Pylons/pyramid
Support:
Developer: Agendaless Consulting and contributors
License: Repoze Public License

Pyramid is written in Python. Learn Python with our recommended free books and free tutorials.


Related Software

Best Python Micro Frameworks
FlaskHugely popular microframework based on Werkzeug and Jinja2
FastAPIWeb framework for building APIs
StarletteLightweight ASGI framework/toolkit
aiohttpAsynchronous HTTP client/server for asyncio and Python
SanicWeb server and web framework
FalconBuild cloud APIs, smart proxies, and app backends
QuartWeb microframework based on Asyncio
PyramidStart small, finish big, stay finished framework
BottleFast, simple and lightweight WSGI micro web framework
ChalicePython Serverless Microframework for AWS
CherryPyMature, minimalist, Python object-oriented web framework
TurboGearsHybrid framework acting as a Full Stack framework or Microframework
QuixoteAimed at sites where complex programming is required
KleinMicro-framework for developing production-ready web services with Python
circuitsLightweight event driven application framework
ClasticFunctional web framework
HugMake developing Python driven APIs as simple as possible
MicroPieUltra-micro ASGI Python web framework
LitestarPowerful, lightweight, and flexible ASGI framework
BlackSheepAsynchronous Python web framework
RobynPython web framework designed for high performance
MicrodotSmall web framework for Python and MicroPython

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted