GitHunt
NA

nandoabreu/the-measuring-task

This task was developed for a Python Dev position I applied for a while ago

A Python Task

This task was developed for a Python Dev position I applied for a while ago. It runs a Flask web server to list some data and log request os that page. Jinja handles the templates.

Dependencies

Python 3.11 (tested OK / must work on any 3+)
+ requirements.txt

Instructions

Install project's requirements:

$ pip install -r requirements.txt

Structure a SQLite3 database and transfer data from csv:
๐Ÿ”ธ SQLite database will be replaced, if exists.

$ python task/sqlite3_prepare_and_transfer_data.py

Serve the database data in a web application:
๐Ÿ”น Run the next line and browse http on port 8080 (default).

$ python task/web_application.py 8080

Browse http at the used port to view data. The second URL will show logs:
๐Ÿ”น http://localhost:8080/list
๐Ÿ”น http://localhost:8080/log

Languages

Python56.2%HTML43.8%

Contributors

Other
Created June 8, 2020
Updated October 15, 2025
nandoabreu/the-measuring-task | GitHunt