web-async-patterns
This repo shows patterns you can use to elevate Python web apps via streaming HTML and htmx
File Explorer
Download Latest Version (.zip)- _item.html
- home.html
- home_sse.html
- chooser.html
- shell.html
- shell_htmx.html
- __init__.py
- jinja.py
- sse.py
- stream.py
- __init__.py
- apps.py
- recommendations.py
- _item.html
- home.html
- shell.html
- category-1.jpg
- category-2.jpg
- category-3.jpg
- category-4.jpg
- category-5.jpg
- category-6.jpg
- about.txt
- android-chrome-192x192.png
- android-chrome-512x512.png
- apple-touch-icon.png
- favicon-16x16.png
- favicon-32x32.png
- favicon.ico
- site.webmanifest
- bed-2.svg
- bed.svg
- delivery-van.svg
- money-back.svg
- office.svg
- outdoor-cafe.svg
- phone.svg
- restaurant.svg
- service-hours.svg
- sofa.svg
- terrace.svg
- product1.jpg
- product10.jpg
- product11.jpg
- product12.jpg
- product2.jpg
- product3.jpg
- product4.jpg
- product5.jpg
- product6.jpg
- product7.jpg
- product8.jpg
- product9.jpg
- avatar.png
- banner-bg.jpg
- complete.png
- logo.svg
- methods.png
- offer.jpg
- htmx.1.9.4.min.js
- htmx.1.9.4_dist_ext_sse.js
- __init__.py
- asgi.py
- settings.py
- urls.py
- wsgi.py
- .gitignore
- manage.py
- README.md
- requirements.in
- requirements.txt
# Installation Guide
1. Get the code
git clone https://github.com/PyHAT-stack/web-async-patterns
Downloads the entire project code from GitHub to your computer.
cd web-async-patterns
Moves into the project folder you just downloaded.
2. Python
Easy RecommendedPrerequisites
python -m venv .venv --prompt stream_python
Runs the Python script (or module).
pip install -r requirements.txt
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
