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 details)
Built Distribution
File details
Details for the file python_web_io-0.1.11.tar.gz
.
File metadata
- Download URL: python_web_io-0.1.11.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.9.12 Linux/4.4.0-19041-Microsoft
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54e4d105b6c9a1f0cc88274cb8457268293b4d1fcbc7f3523693ca0059e32f9e |
|
MD5 | 1bf71ff2782b4d882c62a3b4dffce4d2 |
|
BLAKE2b-256 | c8ee69168422ec6fd6db8565fc8d99bb9e9ff9d4ea5a0c7e1739bb49bac82bd0 |
File details
Details for the file python_web_io-0.1.11-py3-none-any.whl
.
File metadata
- Download URL: python_web_io-0.1.11-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.2 CPython/3.9.12 Linux/4.4.0-19041-Microsoft
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 663c65a8b7b66e5eb3ddfba4715d77ccb6eaf1a792453a01a0e12aef840f4fd8 |
|
MD5 | 072834afacd3360c59d447111f29933e |
|
BLAKE2b-256 | 4ae06154558725933bf82eee8a52251c9aafea56084890a7a07eb2b7381032e7 |