Skip to main content

Werkzeug based routing system for Brubeck - Escape from Regex

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SimpleURL-0.0.3.tar.gz (7.0 kB view details)

Uploaded Source

File details

Details for the file SimpleURL-0.0.3.tar.gz.

File metadata

  • Download URL: SimpleURL-0.0.3.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for SimpleURL-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cdf3b344faa54e8f61f1b3c933b3bd3f2bb64e03859ce1cf3c4d99f3445765bf
MD5 bac25d65443b67b138d4c6bc51726c63
BLAKE2b-256 af1730aabded734d1a37fdd633754c7e0e7a745c6e3cfac3043a60ec789d156e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page