Spent half a day converting revert.osmz.ru to Python 3 (my old server is old) and OAuth2. This paves the way for the rest of my osm-related services.