apcor / learn_web

Simple Flask web-interface

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Arsen's test web-interface on Flask

General info

This service was created by Arsen Sogoyan during the Learn Python course (14/05/2022 - 16/07/2022).

Note: currently the client interface runs on local machine only (127.0.0.1:5000).

Features

  • Current weather summary

By using the Weather API we are pulling a JSON-response containing weather info for Moscow, Russia and output current temperature and 'feels-like' temperature.

Note: World Weather Online has 30-day free API access, so upon expiry I switched to free Weather API that has no time limitations.

Using Bootstrap template, index.html page was created to accomodate not only weather but other info in column sections.

  • Python.org news

Parsing Python.org Latest News page and using Beautiful Soup library we recreated the Latest News widget on our page alongside the weather information.
Note: The news are pulled from the web source and saved in a SQLite database managed by Flask-SQLAlchemy.

About

Simple Flask web-interface


Languages

Language:HTML 92.5%Language:Python 7.5%