NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #3228 most downloaded on crates.io
Stub file (*.pyi) generator for PyO3
Latest stable
0.23.2
Last release 24 days ago
29 Oct 2026
Release timing varies
gaps range from 1 weeks to 4 months
Nearly every release is documented
notes for 45 of 46 stable releases
7 versions withdrawn
withdrawn after publishing
2 years old
53 releases · first in 2024
Drag across the ruler to compare, or tap a release to open it.
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.23.1...0.23.2
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.23.0...0.23.1
Your coding agent can read these notes before it upgrades. Set up the MCP server →
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.4...0.23.0
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.3...0.22.4
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.2...0.22.3
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.1...0.22.2
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.22.0...0.22.1
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.21.2...0.22.0
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.21.1...0.21.2
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.21.0...0.21.1
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.20.0...0.21.0
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.19.0...0.20.0
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
PyStubType for time crate types by @watsaig in https://github.com/Jij-Inc/pyo3-stub-gen/pull/400time and chrono crate types in examples/pure by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/402Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.18.0...0.19.0
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
__all__ generation with escape hatch mechanism by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/389Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.17.2...0.18.0
<!-- Release notes generated using configuration in .github/release.yml at dev-0.17 -->
<!-- Release notes generated using configuration in .github/release.yml at dev-0.17 -->
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.17.1...0.17.2
<!-- Release notes generated using configuration in .github/release.yml at dev-0.17 -->
<!-- Release notes generated using configuration in .github/release.yml at dev-0.17 -->
Because we need some task before releasing 0.18.0 with #350 which will cause large inconsistency, I create a sub develop branch dev-0.17 and release from it with #356.
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.17.0...0.17.1
<!-- Release notes generated using configuration in .github/release.yml at main -->
<!-- Release notes generated using configuration in .github/release.yml at main -->
python_overload parameter for inline function overloading by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/345Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.16.1...0.17.0
Back port of #362 Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.16.1...0.16.2
Back port of #362
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.16.1...0.16.2
Fix typing.Literal[True/False] lowercasing bug in Python stub generation by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/339
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.16.0...0.16.1
Redesign parameter model to support Python function signature syntax by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/338
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.15.2...0.16.0
Back port of https://github.com/Jij-Inc/pyo3-stub-gen/pull/362
Back port of https://github.com/Jij-Inc/pyo3-stub-gen/pull/362
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.15.2...0.15.3
Start developing 0.15.2 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/332
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.15.1...0.15.2
Start developing 0.15.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/327
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.15.0...0.15.1
Start developing 0.14.2 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/317
@final decorator support by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/318Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.14.1...0.15.0
Start developing 0.14.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/308
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.14.0...0.14.1
Bump the pyo3 crate and fix some deprecated methods by @j03-dev in https://github.com/Jij-Inc/pyo3-stub-gen/pull/304
infer_signature, fix #283, perhaps fix #161 by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/286#[remove_gen_stub] macro, fix #266 by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/285getter/setter & Support name override for classattr by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/295module_doc! for module-level document by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/288ordered_float::NotNan, ordered_float::OrderedFloat type by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/306Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.13.1...0.14.0
Start developing 0.13.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/280
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.13.0...0.13.1
More support for custom exceptions by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/267
#[pyclass(eq, ord)] by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/268Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.12.2...0.13.0
Bump cc from 1.2.30 to 1.2.31 in the dependencies group by @dependabot[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/257
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.12.1...0.12.2
Start developing 0.12.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/255
#[deprecated] does not work with #[getter] by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/256Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.12.0...0.12.1
Translate Rust's #[deprecated] to @typing_extension.deprecated in Python by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/254
classmethod, fix #59 by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/232async fn support for free fns and methods, continuation by @cstruct in https://github.com/Jij-Inc/pyo3-stub-gen/pull/251#[deprecated] to @typing_extension.deprecated in Python by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/254Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.11.1...0.12.0
Add test for #242 by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/247
@overload decorator generation by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/246Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.11.0...0.11.1
Start developing 0.10.1 by @github-actions[bot] in https://github.com/Jij-Inc/pyo3-stub-gen/pull/230
getter, setter, classattr by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/204- handling in package name by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/242Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.10.0...0.11.0
The PyO3 feature detection introduced in 0.9.0 has been removed since it does not works correctly in several cases. See https://github.com/Jij-Inc/pyo
The PyO3 feature detection introduced in 0.9.0 has been removed since it does not works correctly in several cases. See https://github.com/Jij-Inc/pyo3-stub-gen/issues/226 for detail.
examples/* directories for Dependabot updates by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/220Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.9.1...0.10.0
Start developing 0.9.1 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/213
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.9.0...0.9.1
Use Python's pathlib for Rust's Path by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/194
pathlib for Rust's Path by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/194IntoPyObjectExt::into_bound_py_any for None value by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/188examples/* crates in cargo-workspace by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/200Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.8.2...0.9.0
Start developing 0.8.2 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/185
... instead of auto() in Enum by @patengel in https://github.com/Jij-Inc/pyo3-stub-gen/pull/191Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.8.1...0.8.2
Start developing 0.8.1 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/180
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.8.0...0.8.1
Consistent impl for &T, Rc , and Arc by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/145
&T, Rc<T>, and Arc<T> by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/145indexmap support by @zao111222333 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/163pyproject.toml by @tvanbaak in https://github.com/Jij-Inc/pyo3-stub-gen/pull/99#[new] by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/172rename_all attributes on enums by @patengel in https://github.com/Jij-Inc/pyo3-stub-gen/pull/166Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.7.0...0.8.0
Start developing 0.6.3 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/124
IntoPyObject::Target by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/138builtins types in TypeInfo::builtin by @konn in https://github.com/Jij-Inc/pyo3-stub-gen/pull/139Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.6.2...0.7.0
Start developing 0.6.2 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/117
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.6.1...0.6.2
Add chrono feature by @ThatOneShortGuy in https://github.com/Jij-Inc/pyo3-stub-gen/pull/78
chrono feature by @ThatOneShortGuy in https://github.com/Jij-Inc/pyo3-stub-gen/pull/78Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.6.0...0.6.1
Start developing 0.5.4 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/61
ArgInfo by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/62Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.5.3...0.6.0
Start developing 0.5.3 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/56
[T; N] by @op8867555 in https://github.com/Jij-Inc/pyo3-stub-gen/pull/60Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.5.2...0.5.3
Start developing 0.5.2 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/53
HashMap and HashSet by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/55Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.5.1...0.5.2
Start developing 0.5.1 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/50
PathBuf and OsString with PyStubType trait by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/52Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.5.0...0.5.1
From this release, the dependency to pyo3/experimental-inspect feature has been removed, and use original TypeInfo struct with PyStubType trait. This
From this release, the dependency to pyo3/experimental-inspect feature has been removed, and use original TypeInfo struct with PyStubType trait. This makes yielded stub file much better.
pyo3_stub_gen::generate into multiple files by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/36TypeInfo struct and PyStubType trait by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/37#[derive(PyStubType)] by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/39ModuleRef for Import from default module by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/42#[derive(PyStubType)] into #[gen_stub_pyclass] by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/44PyStubType impl by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/45PyStubType by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/47str_len example by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/49Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.4.0...0.5.0
Start developing 0.3.1 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/32
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.3.0...0.4.0
Start developing 0.2.1 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/26
#[automatically_derived] annotation by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/28ruff check by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/29Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.2.0...0.3.0
Start developing 0.1.3 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/24
Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.1.2...0.2.0
Start developing 0.1.2 by @github-actions in https://github.com/Jij-Inc/pyo3-stub-gen/pull/18
define_stub_info_gatherer by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/23Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.1.1...0.1.2
Re-enable pyo3_stub_gen::derive by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/17
pyo3_stub_gen::derive by @termoshtt in https://github.com/Jij-Inc/pyo3-stub-gen/pull/17Full Changelog: https://github.com/Jij-Inc/pyo3-stub-gen/compare/0.1.0...0.1.1
Nothing published for this version
One column per month.