Coding

Pyramid – Python Microframework – Goldilocks Solution

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
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 Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted