The sqlite3 module already exposes sqlite3_total_changes() as Connection.total_changes. It would be really nice if it also exposed sqlite3_changes() as Connection.changes.
It is possible to get the value by using conn.execute('SELECT changes()').fetchone()[0] but that’s both cumbersome and inefficient.