Source for my web app: Is Bristol Choking. Scrapes air pollution data from the Bristol Air Quality website and displays it on a single page with binary yes or no based on the legal limits.
I rolled this together in a couple of mornings and free hours to learn Flask and Python web app technologies. For this reason it is fairly rough around the edges.
- Bootstrap 4 - example 'album' used as a template.
- Flask SocketIO - for async scraping on user loading page.
- CSS Coding Animation - used for loading placeholder.
Create .env file with Google Maps API key or set environment variable.
pipenv install pipenv run gunicorn app:app
Visit localhost:8000 to see the site.