On Tue, Oct 22, 2019 at 9:59 AM Ivan Levkivskyi <levkivskyi@gmail.com> wrote:
Also IIUC Jukka (cc'ed) is going to spend a week or two early November working 100% on kick-starting
the transformation of typeshed to a more modular model.

I'm probably going to work at least on improving stubgen so that it can more reliably generate draft stubs for most third-party packages. Another small project would be to add support for writing tests for stubs in typeshed. These should make it easier to create baseline stubs for many additional third-party packages and to ensure that they are not quite broken. I may also look at automated uploading of stub packages.

Perhaps we can work around the lack of pypi namespaces by writing some additional tooling. A strawman proposal would be to embed a cryptographic signature in packages uploaded from typeshed and have a tool that downloads the stubs and verifies the signature in the stub package. This could be partially integrated to tools like mypy so that it could suggest how to safely download stubs if some stub seems to be missing.

Jukka