Skip to main content Switch to mobile version rekursiv-ai-typings 0.1.21 Hand-written type stubs for third-party libraries, for basedpyright and ty.
pip install rekursiv-ai-typings==0.1.21 Copy PIP instructions
Type stubs for third-party libraries, written by hand. Some of these libraries ship no types at all. Others ship types that basedpyright and ty reject in strict mode.
uv add --dev rekursiv-ai-typings See Install for additional details.
There is nothing to configure. Each library's stubs install as a separate -stubs package (the standard PEP 561 layout), and both checkers look for those automatically.
import yaml data = yaml.safe_load("a: 1") reveal_type(data) # object, not Any Features
If you want your own stubs for a library instead of ours, put them in your project and they take priority. Name the directory -stubs:
typings/ -stubs/__init__.pyi Then tell both checkers where to look:
[tool.basedpyright] stubPath = "typings" [tool.ty.environment] extra-paths = ["typings"] The -stubs suffix matters. If you name the directory , ty ignores it and uses ours.
Some stubs cover only part of a library: fastapi, starlette, lxml, curl_cffi, lark, optax, sklearn, and torch. Each of these is marked partial, so for any module we don't stub, the checkers fall back to the library's own types.
triton only installs on Linux. On macOS, basedpyright reports reportMissingModuleSource on every import triton. To fix that, this package also installs placeholder .py files for triton. Add their location to extraPaths:
[tool.basedpyright] extraPaths = [".venv/share/rekursiv-ai-typings"] The placeholders only make the import resolve. The types still come from our stubs.
uv add --dev rekursiv-ai-typings If you're missing uv,
Linux sudo apt install -y curl curl -LsSf https://astral.sh/uv/install.sh | sh
python -m pip install rekursiv-ai-typings Project links
Both files in this release have provenance metadata.
Apache-2.0 View SPDX License List
cpu cu126 cu128 cu130 cu132 cu134
basedpyright pyi stubs ty typing
Development Status 3 - Alpha
Intended Audience Developers
License OSI Approved :: Apache Software License
Programming Language Python :: 3
Topic Software Development :: Libraries
Release files for rekursiv-ai-typings 0.1.21
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
Built distribution (wheel)
Total release size: 7.2 MB
Release files / rekursiv_ai_typings-0.1.21.tar.gz
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Security for rekursiv-ai-typings 0.1.21
Both files in this release have been uploaded with provenance metadata.
With provenance rekursiv_ai_typings-0.1.21.tar.gz Nov 19, 2026
Attestation for rekursiv_ai_typings-0.1.21.tar.gz
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 25, 2026 2 release files Full provenance
Nov 21, 2026 2 release files Full provenance
Nov 20, 2026 2 release files Full provenance
Nov 19, 2026 2 release files Full provenance
Nov 8, 2026 2 release files Full provenance
Nov 7, 2026 2 release files Full provenance
Nov 6, 2026 2 release files Full provenance
Nov 5, 2026 2 release files Full provenance
Oct 31, 2026 2 release files Full provenance
Oct 29, 2026 2 release files Full provenance
Oct 26, 2026 2 release files Full provenance
Oct 23, 2026 2 release files Full provenance
Oct 21, 2026 2 release files Full provenance
Oct 18, 2026 2 release files Full provenance
Oct 17, 2026 2 release files No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




