Osmclient migration to Python3