Solution is found at sql/query.sql
.
Simple solution is found at python/simple.py
.
Prod solution is found at python/port_tools.py
and
python/test_port_tools.py
.
Running the tests requires tox:
pip install tox
tox -e py36
Running the style checker:
tox -e pep8