Skip to content

Generate stub files #585

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

Open
IvanaGyro opened this issue Mar 19, 2025 · 0 comments
Open

Generate stub files #585

IvanaGyro opened this issue Mar 19, 2025 · 0 comments
Labels
Top priority The Issue that has top priority

Comments

@IvanaGyro
Copy link
Collaborator

IvanaGyro commented Mar 19, 2025

Stub files are needed to enable static type checking and autocompletion in Python IDEs. Many IDEs' autocomplete functions rely on the stub files. We can generate the stub files with mypy.stubgen or pybind11-stubgen.

Another alternative is moving to nanobind, which has better performance than pybind11 and provides built-in stubgen.

@IvanaGyro IvanaGyro added the Top priority The Issue that has top priority label Apr 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Top priority The Issue that has top priority
Projects
None yet
Development

No branches or pull requests

1 participant