VOOZH about

URL: https://pypi.org/project/optype/

โ‡ฑ optype ยท PyPI


Skip to main content

optype 0.18.0

pip install optype

Latest release

Released:

Building Blocks for Precise & Flexible Type Hints

Navigation

Unverified details

These details have not been verified by PyPI
Project 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

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

Unverified details

These details have not been verified by PyPI
Project 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

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

optype-0.18.0.tar.gz (60.0 kB view details)

Uploaded Source

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

optype-0.18.0-py3-none-any.whl (73.4 kB view details)

Uploaded Python 3

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

Hashes for optype-0.18.0.tar.gz
Algorithm Hash digest
SHA256 ea10dee61b15ca299ed0d97025d362585c4dfc5481159bb999a1d0d414bbcb04
MD5 c36fa06be5cb10a3754e94f7760d1cbe
BLAKE2b-256 995151dc9b1009e020f44703933d4d1ee3429c647c026ce7806b37ee2b257998

See more details on using hashes here.

Provenance

The following attestation bundles were made for optype-0.18.0.tar.gz:

Publisher: publish-pypi.yml on jorenham/optype

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for optype-0.18.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91822ed8516e7a4f225ba53d30f291776c35f31553fb952d7cda98286679c5a6
MD5 135dc3436bb8784f6c170258f50475b8
BLAKE2b-256 5b912b064a117cb2593bc3eb04ee994134ca2a6bf2162c92961769947e3258cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for optype-0.18.0-py3-none-any.whl:

Publisher: publish-pypi.yml on jorenham/optype

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

๐Ÿ‘ Image
AWS Cloud computing and Security Sponsor ๐Ÿ‘ Image
Datadog Monitoring ๐Ÿ‘ Image
Depot Continuous Integration ๐Ÿ‘ Image
Fastly CDN ๐Ÿ‘ Image
Google Download Analytics ๐Ÿ‘ Image
Pingdom Monitoring ๐Ÿ‘ Image
Sentry Error logging ๐Ÿ‘ Image
StatusPage Status page