awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Pylons avatar

Pylons/pyramid

0
View on GitHub↗
4,086 stars·892 forks·Python·9 viewstrypyramid.com↗

Pyramid

Pyramid is a Python web framework and WSGI toolkit designed for building web applications. It functions as a URL routing engine that maps incoming HTTP requests to specific view callables using both pattern-based routing and hierarchical resource tree traversal.

The framework is distinguished by its hybrid dispatch system, allowing developers to combine regular expression URL matching with the ability to resolve requests by navigating a tree of nested objects. It implements a flexible component architecture that supports application registry management, deferred configuration execution, and the ability to override views or routes without modifying original source code.

Its broader capability surface covers identity management via signed cookies and ACL-based authorization, an event-driven coordination system for the request lifecycle, and internationalization services for UI translation. It also provides tools for content rendering through custom serializers and template integration, alongside a middleware tween pipeline for injecting cross-cutting logic.

The toolkit includes an administrative command-line interface for route inspection, project scaffolding, and application debugging.

Features

  • Python Web Frameworks - Functions as a comprehensive Python web framework for building scalable applications with flexible routing.
  • Application Settings Management - Manages key-value parameters in configuration files that are accessible to view callables at runtime.
  • Access Control Lists - Defines fine-grained permissions on resource classes using lists of allowed or denied principals.
  • Resource Access Restrictions - Evaluates rules attached to resources to determine if a principal possesses the required permission.
  • Resource-Level Access Controls - Attaches access control lists directly to resource instances to provide granular, instance-level authorization.
  • Generic Resource Authorization - Evaluates access control lists attached to resources to verify if a principal possesses required permissions.
  • Identity and Access Management - Verifies user identity and checks permissions to restrict application actions based on assigned roles.
  • Permission-Based Access Control - Restricts access to application resources based on permissions and roles assigned to users.
  • Resource Access Permissions - Determines if an authenticated user has the necessary permissions to access a specific application resource.
  • Permission-Protected Views - Verifies that a user possesses a required permission before executing a view callable.
  • Session Cookie Authentications - Issues and validates signed authentication tickets via cookies to track user identity without server-side state.
  • User Authentications - Determines the identity of the current user based on request credentials or stored session data.
  • Server-Side Session Management - Stores and retrieves user-specific data across multiple requests using signed cookies or server-side backends.
  • Web Application Security - Implements authentication, role-based access control, and CSRF protection to secure web applications.
  • Application Registries - Implements a central registry to manage the mapping of resource types to views and overall application configuration.
  • Application Settings - Initializes the application registry with deployment settings and security policies to define the global environment.
  • Extensible Component Architectures - Uses component patterns to manage application registries and provide flexible utility lookups.
  • View-Specific Permission Checks - Checks user credentials against required permissions for a specific view to block unauthorized execution.
  • URL Route Mapping - Maps URL patterns to specific view callables using ordered pattern matching for direct request dispatching.
  • Hybrid Traversal and Dispatch - Supports hybrid URL structures by combining hierarchical resource resolution with pattern-based routing.
  • HTTP Response Composition - Provides a programmatic API for constructing HTTP responses with custom bodies, status codes, and headers.
  • Request Lifecycle Managers - Manages the request-response pipeline using a middleware tween system and event subscribers.
  • Ordered Middleware Pipelines - Wraps the request-response cycle in a sequenced chain of factories to inject cross-cutting logic.
  • Request Parsing - Extracts structured data from the WSGI environment, including query strings, form bodies, and cookies.
  • Resource Context Resolution - Pyramid identifies the specific resource object and traversal path associated with a request to determine content.
  • Resource Lineage Analysis - Pyramid traverses the parent-child hierarchy of a resource to find ancestors or determine containment.
  • Resource-to-View Mapping - Associates retrieved resources with named view callables based on the resource type and path segments.
  • Resource Tree Traversal - Resolves request paths by recursively navigating a hierarchy of nested objects to determine the context resource.
  • Custom Traversal Algorithms - Allows replacing the default resource tree traversal algorithm with a custom pattern to map URLs to resources.
  • URL Generators - Programmatically constructs URLs based on named route patterns to ensure links remain valid during configuration changes.
  • Hierarchical Routing - Maps web requests to resources using a tree-based traversal system to mirror complex data structures.
  • URL Routing Engines - Ships a rule-based system that matches incoming URL paths to view callables using patterns and regular expressions.
  • URL Traversal Mapping - Resolves URL paths to resource objects in a hierarchical tree to mirror data store structures.
  • Web Application Development Toolkits - Provides an integrated toolset for managing application configuration, session state, and authentication.
  • Pattern-Based Route Mapping - Maps incoming URL paths to specific view callables using ordered regular expressions and replacement markers.
  • WSGI Frameworks - Implements a WSGI-compliant framework that can embed standard WSGI applications as view callables.
  • Resource URL Generation - Generates fully-qualified or relative URLs based on a resource's position within the application tree.
  • JSON Response Serializers - Automatically converts server-side return values into JSON strings with the correct content-type header.
  • Automatic Decorator Scanning - Automatically discovers and registers views and routes defined by decorators within packages.
  • Application Bootstrapping Scripts - Bootstraps the application from configuration files to simulate a request context for standalone scripts.
  • Application Debugging Tools - Offers an interactive toolbar and CLI tools to inspect the application's registered routes and views.
  • CLI Administration Tools - Provides command-line scripts to serve the application, inspect routes, and debug views.
  • Plugin Package Loading - Supports loading third-party extension packages into the application configuration to extend framework functionality via plugins.
  • Configuration Module Composition - Integrates multiple external configuration sources into a single application while preventing conflicting definitions.
  • Global Application Contexts - Provides access to the active request and application registry through a thread-local context for scripting and testing.
  • Route Matching Diagnostics - Prints route matching decisions to the console to troubleshoot URL resolution.
  • Route Inspection Tools - Offers command-line utilities to list and analyze registered URL paths and middleware configurations.
  • Lifecycle Request Handlers - Provides signals at various stages of the request-response cycle for executing external subscriber logic.
  • Request Object Extensions - Enables the registration of custom methods and cached properties directly on the request object.
  • Controller Response Serializers - Transforms arbitrary return values from view callables into valid HTTP responses using registered serializers.
  • CSRF Protections - Validates request tokens or origins to prevent cross-site request forgery.
  • JSON Body Decoders - Automatically converts JSON-encoded request bodies into native Python data structures for use in views.
  • Cookie-Based Session Storage - Stores session data in cryptographically signed cookies to track state without server-side storage.
  • Application Bootstrapping - Initializes the application and launches the server using configuration settings from external files.
  • Configuration Modularization - Organizes configuration into reusable functions to allow packages to selectively include or override settings.
  • Atomic Configuration Phases - Processes application setup in two phases to allow registration order independence and conflict detection.
  • Configuration Conflict Prevention - Prevents application startup if multiple configuration statements map the same predicates to different handlers.
  • View and Route Overrides - Replaces existing views or routes with custom implementations through the registration of new configurations.
  • Virtual Root Mapping - Pyramid allows a specific resource within a traversal tree to behave as the application root.
  • HTTP Response Mappings - Maps internal application error types to standardized HTTP response codes and messages.
  • Event-Driven Coordination - Uses an event-driven system to coordinate custom logic execution at specific points in the HTTP request lifecycle.
  • Registration Mechanisms - Provides a flexible system for registering event subscribers using decorators and predicates to filter execution.
  • Trigger Predicates - Implements predicates that define specific conditions under which an event subscriber is triggered.
  • Event Triggering - Notifies all registered subscribers synchronously when a specific event is fired to execute logic.
  • Function Decorators - Uses Python decorators to register functions or classes within the application configuration without altering original behavior.
  • Deferred Configuration Values - Uses a two-phase setup process to resolve configuration values and detect conflicts after all overrides are merged.
  • Deployment Behavior Overrides - Enables adding or overriding views and routes in specific deployments without altering the original source code.
  • Predicate-Based Request Filtering - Restricts view execution based on custom conditions such as HTTP methods, headers, or object interfaces.
  • View-to-Response Converters - Converts arbitrary return values from view callables into valid HTTP response objects through custom adapters.
  • Simulated Request Testing - Enables testing of HTTP requests and responses in-process without requiring a live web server.
  • Application Testing - Enables testing of view logic by simulating HTTP requests with stub features and dummy security policies.
  • View Wrappers - Implements view derivers that wrap views with additional functionality to act as individual view middleware.
  • Custom Event Systems - Implements a custom event system with unique event objects and subscribers to decouple application logic.
  • Multi-Engine Template Support - Integrates with multiple templating engines, allowing different languages to coexist within the same application.
  • Request Handling Diagnostics - Outputs failure and success information regarding authorization and route matching to the error stream for debugging.
  • Content Renderers - Provides a flexible system of renderers to convert view return values into multiple output formats.
  • Error Page Mapping - Provides mechanisms to intercept server exceptions and render them as dedicated graceful error pages for end users.
  • HTTP Redirects - Provides utilities to send 302 Found responses and manage location headers for client redirection.
  • Interface-Based View Dispatch - Associates view callables with marker interfaces to share views across different resource implementations.
  • Internationalization & Localization - Provides translation and localization services to adapt user interface text based on language and locale.
  • Locale Negotiation Logic - Implements algorithmic determination of the user's locale based on request signals and fallback defaults.
  • Middleware Execution Ordering - Allows precise control over the sequence of tween factories for request and response processing.
  • Global Middleware Registration - Implements a system to insert code between the server and request handler for cross-cutting functionality.
  • Renderer Factory Registrations - Allows the association of custom renderer factories with specific names or extensions for bespoke serialization.
  • Template-Driven Rendering - Generates HTML or text responses by merging data dictionaries with template files.
  • Request Middleware - Provides a pipeline to wrap the primary request handling process for logic like timing and bookkeeping.
  • Prefix Groupings - Organizes related routes by prepending a common path string to groups of configurations.
  • Resource Path Generation - Pyramid produces an absolute path string representing a resource's position within a hierarchical tree.
  • Resource Path Resolution - Pyramid retrieves a resource object from the tree using an absolute or relative string path.
  • Interface Tagging - Pyramid assigns interfaces to resource classes to group different object types under one view configuration.
  • Resource Type Lookups - Pyramid locates the nearest ancestor in a resource's lineage that matches a specific class or interface.
  • Content Negotiation - Determines response formats based on the Accept header to dispatch the appropriate view callable.
  • Route Listings - Generates a comprehensive table of all configured route names, patterns, and their associated view callables.
  • Route Predicates - Provides custom conditions that must be met for a specific view or route to match a request.
  • Route-Prefixed Resource URLs - Creates URLs for traversal resources by combining a named route's prefix with the resource's hierarchical path.
  • Root Object Factories - Associates callables with routes to generate custom root objects for hierarchical resource traversal.
  • Decorator-Based Route Mappings - Maps functions or classes to view configurations using decorators to define routing and requirements.
  • Static Asset Serving - Maps filesystem directories or packages to URL prefixes to serve CSS and JavaScript assets.
  • Text Translation Frameworks - Provides an internal framework for resolving translation keys into localized UI strings using message identifiers.
  • Resource URL Adaptation - Allows customization of how URLs are generated for specific resource types when using custom traversers.
  • View Calling Conventions - Customizes the calling convention of view callables to emulate different controller patterns.
  • Asset URL Resolvers - Resolves static asset file paths to environment-specific URLs to ensure consistent asset loading.
  • WSGI Servers - Runs the web application on various WSGI-compliant servers for both development and production environments.
  • Web Frameworks - A small, fast, down-to-earth, open source Python web framework.

Star history

Star history chart for pylons/pyramidStar history chart for pylons/pyramid

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Pyramid

Similar open-source projects, ranked by how many features they share with Pyramid.
  • webpy/webpywebpy avatar

    webpy/webpy

    5,919View on GitHub↗

    web.py is a minimal Python web framework that provides the core components needed to build web applications: URL routing, template rendering, database access, form handling, and session management. The framework uses a convention-based approach where URL patterns are automatically mapped to handler classes based on their names, eliminating the need for manual route configuration. It exposes applications as WSGI callables, making them deployable with any WSGI-compliant server. The framework distinguishes itself through its metaclass-driven auto-discovery system, which automatically registers h

    Python
    View on GitHub↗5,919
  • theorchid/platformTheOrchid avatar

    TheOrchid/Platform

    4,791View on GitHub↗

    Platform is a framework for building back-office applications and administrative dashboards using Laravel. It functions as a schema-driven UI framework and CRUD generator that automatically constructs database management interfaces, input forms, and validation rules from programmatic model definitions. The project distinguishes itself through a comprehensive backend UI kit that supports advanced data capture, including geographic coordinate mapping, tabular JSON data matrices, and marketing metadata tracking. It features a robust role-based access control system for managing resource visibili

    PHP
    View on GitHub↗4,791
  • digitallyinduced/ihpdigitallyinduced avatar

    digitallyinduced/ihp

    5,294View on GitHub↗

    ihp is a type-safe web framework and full-stack application orchestrator designed for PostgreSQL. It functions as a server-side rendering framework and a type-safe ORM that automatically generates record types from SQL schemas to ensure compile-time query validation. The platform distinguishes itself by verifying routing, database queries, and templates at compile time to prevent runtime crashes. It implements real-time web interfaces using WebSockets for instant data synchronization and employs server-driven hypermedia for partial DOM patching. The framework covers a broad range of integrat

    Haskellframeworkhacktoberfesthaskell
    View on GitHub↗5,294
  • veeral-patel/how-to-secure-anythingveeral-patel avatar

    veeral-patel/how-to-secure-anything

    10,224View on GitHub↗

    This project is a comprehensive security suite and knowledge base focused on the engineering and construction of trustworthy digital and physical systems. It provides a systematic framework for security engineering design, covering the establishment of high-assurance architectures and the implementation of security models that govern how a system achieves its safety goals. The project is distinguished by its focus on formal assurance and adversarial deterrence. It includes methodologies for creating security assurance cases and proofs to verify system trustworthiness, alongside economic and t

    secure-designsecure-systemssecurity
    View on GitHub↗10,224
See all 30 alternatives to Pyramid→

Frequently asked questions

What does pylons/pyramid do?

Pyramid is a Python web framework and WSGI toolkit designed for building web applications. It functions as a URL routing engine that maps incoming HTTP requests to specific view callables using both pattern-based routing and hierarchical resource tree traversal.

What are the main features of pylons/pyramid?

The main features of pylons/pyramid are: Python Web Frameworks, Application Settings Management, Access Control Lists, Resource Access Restrictions, Resource-Level Access Controls, Generic Resource Authorization, Identity and Access Management, Permission-Based Access Control.

What are some open-source alternatives to pylons/pyramid?

Open-source alternatives to pylons/pyramid include: webpy/webpy — web.py is a minimal Python web framework that provides the core components needed to build web applications: URL… theorchid/platform — Platform is a framework for building back-office applications and administrative dashboards using Laravel. It… digitallyinduced/ihp — ihp is a type-safe web framework and full-stack application orchestrator designed for PostgreSQL. It functions as a… veeral-patel/how-to-secure-anything — This project is a comprehensive security suite and knowledge base focused on the engineering and construction of… gam-team/gam — GAM is a command-line tool for administering Google Workspace and Cloud Identity. It translates command-line arguments… lastmile-ai/mcp-agent — mcp-agent is a framework for building AI agents that integrate with Model Context Protocol servers to execute tools…