Expand description
Python: packages, imports, risks, the PyPI-to-crate table, and exported functions and classes with type hints mapped into the TS-like type dialect.
Enums§
- Resolution
- Where a Python import points.
Functions§
- discover
- exports
- Public module-level functions and classes, honoring
__all__. - infer_
numbers - Unannotated parameters the body uses as numbers (
r - g,x * 0.5,max(r, g),x < 1) becomenumber: generated inputs then fit what the code expects. - lookup
- The Rust counterpart of a PyPI package (or import name).
- resolve
- Resolves
pkg.mod,.modand..modagainst the files of the workspace. - scan
- to_
ts_ type - A Python type hint in the TS-like dialect:
list[str]->string[],Optional[int]->int | undefined,Callable[...]-> a function type (which keeps the export in Python).