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
|
6 years ago | |
---|---|---|
simple | 6 years ago | |
.gitignore | 6 years ago | |
MANIFEST.in | 6 years ago | |
Readme.md | 6 years ago | |
setup.py | 6 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.