mityax/rustimport

Possibility to create a `.pyi` file with the debug and release binaries

sansyrox opened this issue ยท 1 comments

Hey ๐Ÿ‘‹

Great package and great work by the team. We are using this package in the latest version of Robyn (https://github.com/sparckles/robyn) ๐Ÿ˜„

Would it be possible to generate a .pyi with the binaries at some point? It will help a lot with the typing systems

mityax commented

Hi,

I think generating .pyi files is a relatively complex task, which is kind of out of scope for rustimport โ€“ this would probably rather be part of pyo3 or a standalone project one could integrate.

There's some progress on implementing this in pyo3 though โ€“ see e.g. PyO3/pyo3#2454.

Should this be integrated into upstream pyo3 โ€“ or if there is some external project I could integrate (didn't find one), I'd be happy to make the necessary changes to allow this being done from rustimport users :)