PyGLM icon indicating copy to clipboard operation
PyGLM copied to clipboard

Adding Stub Files for Referencing

Open williamhCode opened this issue 2 years ago • 3 comments

Just wondering if we could add some stub files, because the only thing that pyglm harder to use than numpy is that working in VScode or any editor, there's no autocomplete, syntax highlighting, and type hinting. It's going to be a lot of work but I would love to help.

williamhCode avatar May 17 '22 01:05 williamhCode

I was observing the same issue. I'm guessing they can just be generated with stubgen? https://mypy.readthedocs.io/en/stable/stubgen.html

einarf avatar May 17 '22 11:05 einarf

Yeah, this is certainly something I should add. Unfortunately I'm currently really short on time.

I would recommend checking out Erik Soma's pyglm-typing for the time being.

Zuzu-Typ avatar May 17 '22 11:05 Zuzu-Typ

Yeah, this is certainly something I should add. Unfortunately I'm currently really short on time.

I would recommend checking out Erik Soma's pyglm-typing for the time being.

Thx! this seems to work fine. Ig we somehow incorporate this library into PyGLM, like maybe just making it a dependency so it gets auto installed.

williamhCode avatar May 20 '22 15:05 williamhCode