optype 0.18.0
pip install optype
Released:
Building Blocks for Precise & Flexible Type Hints
Navigation
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
๐ Avatar for jhammudoglu from gravatar.comjhammudoglu ๐ Avatar for rgommers from gravatar.com
rgommers
Meta
- Author: Joren Hammudoglu
Unverified details
These details have not been verified by PyPIProject links
Meta
-
License Expression: BSD-3-Clause
SPDX License Expression - Author: Joren Hammudoglu
- Tags annotations , basedpyright , checker , checking , hinting , hints , mypy , numpy , numpy-typing-compat , pyright , protocols , stubs , type , typechecking , typehinting , typehints , typing
- Requires: Python >=3.12
-
Provides-Extra:
numpy
Classifiers
- Development Status
- Intended Audience
- Operating System
- Programming Language
- Topic
- Typing
Project description
optype
Building blocks for precise type hints
๐ GitHub License
๐ PyPI Version
๐ Conda Version
๐ Python Versions
๐ PyPI Downloads
๐ ruff
๐ basedpyright
๐ mypy
๐ pyrefly
๐ ruff
๐ ruff
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.
Project details
Verified details
These details have been verified by PyPIProject links
GitHub Statistics
Maintainers
๐ Avatar for jhammudoglu from gravatar.comjhammudoglu ๐ Avatar for rgommers from gravatar.com
rgommers
Meta
- Author: Joren Hammudoglu
Unverified details
These details have not been verified by PyPIProject links
Meta
-
License Expression: BSD-3-Clause
SPDX License Expression - Author: Joren Hammudoglu
- Tags annotations , basedpyright , checker , checking , hinting , hints , mypy , numpy , numpy-typing-compat , pyright , protocols , stubs , type , typechecking , typehinting , typehints , typing
- Requires: Python >=3.12
-
Provides-Extra:
numpy
Classifiers
- Development Status
- Intended Audience
- Operating System
- Programming Language
- Topic
- Typing
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file optype-0.18.0.tar.gz.
File metadata
- Download URL: optype-0.18.0.tar.gz
- Upload date:
- Size: 60.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ea10dee61b15ca299ed0d97025d362585c4dfc5481159bb999a1d0d414bbcb04
|
|
| MD5 |
c36fa06be5cb10a3754e94f7760d1cbe
|
|
| BLAKE2b-256 |
995151dc9b1009e020f44703933d4d1ee3429c647c026ce7806b37ee2b257998
|
Provenance
The following attestation bundles were made for optype-0.18.0.tar.gz:
Publisher:
publish-pypi.yml on jorenham/optype
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
optype-0.18.0.tar.gz -
Subject digest:
ea10dee61b15ca299ed0d97025d362585c4dfc5481159bb999a1d0d414bbcb04 - Sigstore transparency entry: 1752250411
- Sigstore integration time:
-
Permalink:
jorenham/optype@96e4de07d64c023e1f3dfe77bace2cdeb9f7daa4 -
Branch / Tag:
refs/tags/v0.18.0 - Owner: https://github.com/jorenham
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@96e4de07d64c023e1f3dfe77bace2cdeb9f7daa4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file optype-0.18.0-py3-none-any.whl.
File metadata
- Download URL: optype-0.18.0-py3-none-any.whl
- Upload date:
- Size: 73.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91822ed8516e7a4f225ba53d30f291776c35f31553fb952d7cda98286679c5a6
|
|
| MD5 |
135dc3436bb8784f6c170258f50475b8
|
|
| BLAKE2b-256 |
5b912b064a117cb2593bc3eb04ee994134ca2a6bf2162c92961769947e3258cc
|
Provenance
The following attestation bundles were made for optype-0.18.0-py3-none-any.whl:
Publisher:
publish-pypi.yml on jorenham/optype
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
optype-0.18.0-py3-none-any.whl -
Subject digest:
91822ed8516e7a4f225ba53d30f291776c35f31553fb952d7cda98286679c5a6 - Sigstore transparency entry: 1752250435
- Sigstore integration time:
-
Permalink:
jorenham/optype@96e4de07d64c023e1f3dfe77bace2cdeb9f7daa4 -
Branch / Tag:
refs/tags/v0.18.0 - Owner: https://github.com/jorenham
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@96e4de07d64c023e1f3dfe77bace2cdeb9f7daa4 -
Trigger Event:
push
-
Statement type:
