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

Please consider adding a stub file #4

Open
Ravencentric opened this issue Nov 13, 2024 · 1 comment
Open

Please consider adding a stub file #4

Ravencentric opened this issue Nov 13, 2024 · 1 comment

Comments

@Ravencentric
Copy link

Ravencentric commented Nov 13, 2024

IDEs and type checkers cannot determine what this package offers due to it not being written in pure python. This can be solved by providing a stub file.

See: https://typing.readthedocs.io/en/latest/guides/libraries.html#how-to-provide-type-annotations
Example: https://github.com/messense/nh3/blob/main/nh3.pyi (python bindings for another rust library)

@deedy5
Copy link
Owner

deedy5 commented Nov 14, 2024

Good idea! Thanks for the links, will do it when I have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants