the code here was not working so I re-wrote and fixed it. it now works with Google Authenticator exports.
the generated pb2.pyi and pb2.py files for otpauth-migration.proto are generated by mypi-protobuf at build time.
that configuration was not ported here. see the original repo if needed.