Ship _core.pyi type stubs (v1.0.2)#5
Merged
Merged
Conversation
Generate a PEP 484 stub for the compiled pyvcell_mbsolver._core extension with pybind11-stubgen, giving type checkers full signatures + docstrings for the C++ API (complements the py.typed marker added in 1.0.1). The stub is assembled into the build tree alongside __init__.py/py.typed and installed into the wheel via the python component. Bump project version 1.0.1 -> 1.0.2. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
pyvcell_mbsolver._coreextension using pybind11-stubgen, giving type checkers (mypy/Pyright) full signatures and docstrings for the C++ API. Complements thepy.typedmarker from 1.0.1.python/pyvcell_mbsolver/_core.pyi) is assembled into the build tree alongside__init__.py/py.typedand installed into the wheel via thepythoncomponent.Generation
Generated cleanly (no warnings); covers all 21 public members — enums, classes, methods, and module functions with their docstrings.
Verified locally
Built a
1.0.2wheel and confirmed it containspyvcell_mbsolver/_core.pyi(pluspy.typed,__init__.py,_core*.so); the stub parses as valid Python.Maintenance note
The stub is committed (not regenerated in CI), so it should be refreshed with pybind11-stubgen if the
_corebindings inpython/pyvcellmbsolver.cppchange.🤖 Generated with Claude Code