Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sansyrox opened this issue Jan 9, 2024 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@sansyrox
Copy link

sansyrox commented Jan 9, 2024

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
Copy link
Owner

mityax commented Jan 11, 2024

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 :)

@mityax mityax added the enhancement New feature or request label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants