Skip to main content

Flask Regex Routes.

Project description


Enable Regex Routes within Flask


pip install flask-reggie


To enable regex routes within your application

from flask import Flask
from flask_reggie import Reggie

app = Flask(__name__)


from flask import Flask
from flask_reggie import Reggie

reggie = Reggie()

def create_app():
    app = Flask(__name__)
    return app


If we were looking to have a UUID supplied as a view argument, we would follow this pattern

def example(uuid):
    return uuid

As you can see, we are able to supply a regular expression, and have it passed as a view argument.



0.0.2 (6/7/2013)

  • Added requirements.txt for Testing Packages.
  • Included License.
  • PEP8 Compliance (and Docstrings).
  • now pushes package data.
  • Updated TravisCI (Comprehensive tests of multiple versions of Flask).

0.0.1 (20/12/2012)

  • Conception
  • Initial Commit of Package to GitHub.

Project details

Download files

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

Files for Flask-Reggie, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size Flask-Reggie-0.0.2.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page