python-routes

Routing Recognition and Generation Tools

Description

Routes is a Python re-implementation of the Rails routes system for mapping URLs to Controllers/Actions and generating URLs. Routes makes it easy to create pretty and concise URLs that are RESTful with little effort.

Speedy and dynamic URL generation means you get a URL with minimal cruft (no big dangling query args). Shortcut features like Named Routes cut down on repetitive typing.

Current features:
 * Named Routes
 * Sophisticated Route lookup and URL generation
 * Wildcard path's before and after static parts
 * Groupings syntax to allow flexible URLs to accommodate almost any need
 * Sub-domain support built-in
 * Conditional matching based on domain, cookies, HTTP method (RESTful), and
   more
 * Easily extensible utilizing custom condition functions and route generation
   functions
 * Extensive unit tests

Upload more screenshots

Please help extend the collection of screenshots. Just make a screenshot and upload it here. You don't need to register or anything.

Upload a screenshot

Hint: upload an image here from your clipboard with Ctrl-V


Homepage

https://routes.readthedocs.io/


Install this software package

If the package is available for the distribution you are currently using on your computer then install the software by clicking on…

Install python-routes