{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/4"},{"label":"WSGI","url":"https://skillfed.io/packages/category/internet-www-http-wsgi"}],"enrichment":{"capability":"Pecan is a WSGI web framework that routes HTTP requests to Python objects based on URL structure, designed to be lightweight with minimal dependencies.","skillfed_tags":["wsgi","object-dispatch","lightweight"],"use_cases":["Build REST APIs where URL structure naturally maps to resource hierarchies and controller classes.","Create web services where explicit object dispatch is clearer than string-based routing patterns.","Develop applications requiring minimal framework overhead and few external dependencies.","Prototype or migrate from other WSGI frameworks while maintaining object-oriented design.","Build admin interfaces or internal tools where object hierarchy routing simplifies code organization."],"what_it_does":"Pecan is a WSGI web framework that maps HTTP requests directly to Python object hierarchies, making URL structure mirror your application's class structure. Instead of defining routes as strings, you organize controller classes and methods that correspond to URL paths. It depends on WebOb for request/response handling and Mako for templating, keeping the dependency footprint small.\n\nThe framework is designed for developers who prefer explicit, object-oriented routing over convention-based or decorator-heavy approaches. It has been in production use since 2012 and maintains active development. The project supports modern Python versions and is suitable for building REST APIs, web services, and traditional web applications where you want direct control over URL-to-code mapping.","worth_installing":"Yes, if you prefer object-oriented URL routing and want a lightweight WSGI framework with low dependency overhead. The permissive BSD license, active maintenance, and support for current Python versions (3.10\u20133.13) make it a solid choice. Not recommended if you need a large ecosystem of third-party extensions or prefer convention-over-configuration frameworks like Flask or Django."},"id":"pecan","links":{"html":"https://skillfed.io/packages/pecan","md":"https://skillfed.io/packages/pecan.md","pypi":"https://pypi.org/project/pecan/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-12","license_spdx":null,"license_treatment":"permissive","name":"pecan","python_support":"supports_current","summary":"A WSGI object-dispatching web framework, designed to be lean and fast, with few dependencies."},"popularity":{"monthly_downloads":182446,"position":10098,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.8.0"}
