Because writing HTML is fiddly and all of your tables are basically the same.
https://github.com/plumdog/flask_table.git
latest