PyQt is licensed under the GPL (unless you have a commercial license). Would the generated stubs not need to be distributed under the same license? I'm not sure the MIT license is valid to distribute them.