Building Blocks for Precise & Flexible Type Hints
Project Links
Meta
Author: Joren Hammudoglu
Requires Python: >=3.11
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
- Science/Research
Operating System
- OS Independent
Programming Language
- Python :: 3
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Topic
- Scientific/Engineering
- Software Development
Typing
- Typed
optype
Building blocks for precise type hints
GitHub · Installation · Getting Started · API Reference · Changelog
Stop fighting your type checker — work with it.
optype gives you single-method protocols for every dunder,
exact types that reject sneaky subtypes, and typed operators that actually
make sense — so you can express what your code really accepts.
Zero dependencies. Works with every modern type checker. Optional NumPy support included. Battle tested.
Visit the documentation at jorenham.github.io/optype.
0.17.0
Mar 08, 2026
0.16.0
Feb 19, 2026
0.15.0
Dec 08, 2025
0.14.0
Oct 01, 2025
0.13.4
Aug 19, 2025
0.13.3
Aug 17, 2025
0.13.2
Aug 15, 2025
0.13.1
Jul 30, 2025
0.13.0
Jul 30, 2025
0.12.2
Jul 20, 2025
0.12.1
Jul 20, 2025
0.12.0
Jul 16, 2025
0.11.0
Jul 09, 2025
0.10.0
May 28, 2025
0.9.3
Mar 31, 2025
0.9.2
Mar 12, 2025
0.9.1
Feb 05, 2025
0.9.0
Jan 21, 2025
0.8.0
Dec 28, 2024
0.7.3
Nov 30, 2024
0.7.2
Nov 24, 2024
0.7.1
Nov 19, 2024
0.7.0
Nov 19, 2024
0.6.1
Aug 19, 2024
0.6.0
Aug 17, 2024
0.5.0
Jun 23, 2024
0.4.0
Apr 15, 2024
0.3.1
Apr 01, 2024
0.3.0
Mar 21, 2024
0.2.2
Mar 16, 2024
0.2.1
Mar 14, 2024
0.2.0
Mar 09, 2024
0.1.0
Feb 25, 2024
0.0.0
Feb 22, 2024