Replace SQLSoup
The code relies on SQLSoup to provide a quick and easy way to map between Python and the database. SQLSoup is written on top of SQLAlchemy but provides a simpler interface than using SQLAlchemy directly. SQLSoup is unmaintained and has been dropped from recent Ubuntu distributions, so we need to replace it. The most likely solution is to use SQLAlchemy directly.