I use MyPy to type check my projects and noticed VPython doesn't having Typing or a library stub for static type checking so MyPy complains it can't find a library stub with the infamous module is installed, but missing library stubs or py.typed marker message.
I wrote a vpython-stubs for my needs. It's complete for the vector module, but I only completed the other vpython items for the things I was using.
The question I have: If there's a desire for a more complete version of a vpython.pyi stub, I could be convinced to complete it. The stubs probably belong here anyway, not in my GitHub account. If you want to have a look at my "incomplete" version, you can search for "vpython stubs" in GitHub, and you'll find it.
I use MyPy to type check my projects and noticed VPython doesn't having Typing or a library stub for static type checking so MyPy complains it can't find a library stub with the infamous
module is installed, but missing library stubs or py.typed marker
message.I wrote a
vpython-stubs
for my needs. It's complete for the vector module, but I only completed the other vpython items for the things I was using.The question I have: If there's a desire for a more complete version of a
vpython.pyi
stub, I could be convinced to complete it. The stubs probably belong here anyway, not in my GitHub account. If you want to have a look at my "incomplete" version, you can search for "vpython stubs" in GitHub, and you'll find it.