optype
Building blocks for precise & flexible type hints
Building blocks for precise & flexible type hints
To install this package, run one of the following:
Opinionated typing package for developing beautifully accurate typing annotations, compatible with both static- and runtime type-checkers, and is battle-tested. OpType has (optional) NumPy typing tools for annotating shape-typed array-likes of with specific dtype, dtype-likes, and much more.
Summary
Building blocks for precise & flexible type hints
Last Updated
Feb 20, 2026 at 01:46
License
BSD-3-Clause
Total Downloads
138.7K
Version Downloads
2.1K
Supported Platforms
Unsupported Platforms
GitHub Repository
https://github.com/jorenham/optype/Documentation
https://jorenham.github.io/optype/