the simplest, tiniest python package with a flask app bundled with it.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Charles Reid 3ce7e86222 add vp virtualenv dir to .gitignore 3 years ago
simple fix the way we handle package data and how we find it 3 years ago
.gitignore add vp virtualenv dir to .gitignore 3 years ago
MANIFEST.in fix the way we handle package data and how we find it 3 years ago
Readme.md add initial version of the simplest flask package 3 years ago
setup.py fix the way we handle package data and how we find it 3 years ago

Readme.md

the simplest flask package

This is the simplest imaginable flask package that comes bundled with a built-in webapp.

Quick Start

Start by installing the simple package:

python setup.py build install

Now you can import it and use the webapp submodule's app variable to run the Flask app. From a Python interactive prompt,

>>> import simple
>>> simple.webapp.app.run(port=5001)

Now visit http://localhost:5001 to see the hello world message, or http://localhost:5001/hello/borg to see a Hello Borg message.