Spaces:
Sleeping
Sleeping
metadata
title: PyConsole
emoji: 🐍
colorFrom: green
colorTo: green
sdk: docker
app_file: main.py
pinned: false
PyConsole
Turn browser into a console for Python using FastHTML (in 34 lines).
Usage
pip install python-fasthtml
git clone https://github.com/iamaziz/fh_pyconsole.git
cd fh_pyconsole
python app.py
Open browser and navigate to http://localhost:5001
Demo
<TODO> add screenshare video recording
Disclaimer ⚠️
Under the hood,
exec()
is used to execute Python code.
Deployment to HF Space
- Using fasthtml-hf