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