boostorg / boostorg/python

Support for generating pep484 .pyi stubs

Open
#277 3 comments 35 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
537
Forks
223
Avg merge
11h 22m
Merged PRs (30d)
2

Description

[Static typing in python](https://realpython.com/python-type-checking/) (aka PEP-484) is gaining a lot of traction, with linting tools like [mypy](https://mypy.readthedocs.io/en/latest/) reaching maturity, and support in IDEs -- like PyCharm, VSCode, and Sublime -- for using pyi stubs to drive code inspection and completion. Stubs are particularly impactful for c/c++ bindings which are opaque to static inspectors.

pyi stub generation is already supported by other python binding generators like pybind11, shiboken, and sip.

Has this feature been discussed at all in boost-dev circles?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.