Generate a webpage as a GUI for a Python script, and serve from anywhere.
Project description
Python Web I/O
Generate a webpage as a GUI for a Python script, and serve from anywhere.
Usage
$ export FLASK_SECRET_KEY="someSecureSecretKey"
$ python_web_io .\example.py
- Create a
.envrc
file, settingFLASK_SECRET_KEY
as perpython_web_io/.envrc.example
. - Try running the
example.py
script usingpython_web_io example.py
.
Config
Argument | ||
---|---|---|
"example.py" |
Required | Specify the file path for the app Python script / entrypoint. |
--title "Python Web I/O" |
Optional | Set a title for the browser tab / website title. |
--icon "🎯" |
Optional | Set an emoji icon for the browser tab / website icon. |
--debug |
Optional | Run the Flask server with debug output enabled. |
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_web_io-0.1.11.tar.gz
(5.6 kB
view hashes)
Built Distribution
Close
Hashes for python_web_io-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 663c65a8b7b66e5eb3ddfba4715d77ccb6eaf1a792453a01a0e12aef840f4fd8 |
|
MD5 | 072834afacd3360c59d447111f29933e |
|
BLAKE2b-256 | 4ae06154558725933bf82eee8a52251c9aafea56084890a7a07eb2b7381032e7 |