skip to navigation
skip to content

Not Logged In

SimpleURL 0.0.6

Werkzeug based routing system for Brubeck - Escape from Regex

SimpleURL
======

SimpleURL is based on Werkzeug routing system for Brubeck.

Why not use regex based routing system?
----

- Regex is hard.

- Too complicated.

- Easy to make mistake.
    Example
    ----
    @app.add_url_route('^/brubeck')
    @app.add_url_route('^/brubeck/\d')

    Above regex routes seems to be different but not.
    Request - `/brubeck` and `/brubeck/1` will match first because
    you have failed to place `$` at the end. As a developer you are not supposed
    to waste your time writing clever regex and debugging regex.


Why Werkzeug ?
----

- Simple

- Extensively documented

- Active community

- Fully WSGI compatible

- Various utility functions for dealing with HTTP headers such as
    `Accept` and `Cache-Control` headers


Development
---

The SimpleURL development version can be installed by cloning the git
repository from `github`_::

    git clone git@github.com:kracekumar/simpleurl.git

.. _github: http://github.com/kracekumar/simpleurl
 
File Type Py Version Uploaded on Size
SimpleURL-0.0.6.tar.gz (md5) Source 2012-12-18 8KB
  • Downloads (All Versions):
  • 35 downloads in the last day
  • 169 downloads in the last week
  • 552 downloads in the last month