In the example, SQL queries are used to create user(/transport) and alias entries.

This has some considerable potential for error.

Python classes on Github to do some manipulation of the alias/user database tables, which will also work as a command line tool