Skip to main content

Decorator which checks whether the function is called with the correct type of parameters

Project description

Python 3.10 Python 3.11 Python 3.12 Python 3.13 Python 3.14 PyPI version Python application image Code style: black Imports: isort Documentation Status AI Agents

Strong Typing

Decorator which checks at Runtime whether the function is called with the correct type of parameters.
And raises TypeMisMatch if the used parameters in a function call where invalid.

This is the release for Python-3.14 and above

  • If you need a different version please checkout the release Tags 2.*.*

Performance boost with mypyc

  • Since 3.13.6 mypyc is used to compile the core logic code.
  • This results in a significant performance boost from around 5x faster, especially for large containers.

🤖 AI Agent Ready

This library includes Agent Skills for AI coding assistants (like Claude Code, Cursor, and GitHub Copilot). These skills provide the AI with specialized knowledge on how to apply runtime type checking, handle TypeMismatch exceptions, and follow best practices when using strongtyping in your codebase.

You can validate the skills by running:

pytest tests/test_skills.py

Docs are available on 'readthedocs'

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

strongtyping-3.14.1.tar.gz (44.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

strongtyping-3.14.1-cp314-cp314-win_amd64.whl (89.4 kB view details)

Uploaded CPython 3.14Windows x86-64

strongtyping-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (213.4 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

strongtyping-3.14.1-cp314-cp314-macosx_11_0_arm64.whl (133.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

strongtyping-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl (138.7 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

File details

Details for the file strongtyping-3.14.1.tar.gz.

File metadata

  • Download URL: strongtyping-3.14.1.tar.gz
  • Upload date:
  • Size: 44.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for strongtyping-3.14.1.tar.gz
Algorithm Hash digest
SHA256 cee2faf122e13518e64ea5167a96dff5df0c00dc664877fbcb696558710f350f
MD5 9079ae33de0d94879c2cea449d6d0300
BLAKE2b-256 61b25c1c329b558b40186bbbf1736b013134513ff64393deb786bc19e07e332e

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.1.tar.gz:

Publisher: python-publish.yml on FelixTheC/strongtyping

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

File details

Details for the file strongtyping-3.14.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for strongtyping-3.14.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 c1b718685564d5e4b943a3a97a1845dc68320439b2249d5ef3f77d11852a0594
MD5 454d75890b4d9ed417da75d634262bff
BLAKE2b-256 80f4a0fb7fa9e13d28d81be725d8cfefc8e830b3ea2624327868026b5f223007

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.1-cp314-cp314-win_amd64.whl:

Publisher: python-publish.yml on FelixTheC/strongtyping

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

File details

Details for the file strongtyping-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for strongtyping-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ef31d60f77e6b57fbd8cc0153f2144e4dfa73808fb4a6610ae7c8301dfa46cb4
MD5 cdbc790201e36eff91d9ea97077ea1d8
BLAKE2b-256 02843421c7aaebda08116f0d8ead5aa850acb2a5c970fec897f4861fc9f7f57e

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: python-publish.yml on FelixTheC/strongtyping

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

File details

Details for the file strongtyping-3.14.1-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for strongtyping-3.14.1-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 40eff2c9c006a162becf02aa7a0e4c6e8e1b17d79fccf1c056d7bf8a252a4878
MD5 0355ffa4e5c5880e9e1680c61c069317
BLAKE2b-256 ad113f419fb5eaa1097e8bbf024ba60d3e292eb60633cbcf7a53bd2baa30d708

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.1-cp314-cp314-macosx_11_0_arm64.whl:

Publisher: python-publish.yml on FelixTheC/strongtyping

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

File details

Details for the file strongtyping-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for strongtyping-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 aaf0e4b0f77f1ea5b03b14c9ff7672dac54426df6935d0bdb2c5b17b213526b8
MD5 c42cd3858447eca1f4b8f9700c467ae6
BLAKE2b-256 8efcf21672223b1d9606d4e23773699f279120dcbef2f7d7da9969fd2fcfc649

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl:

Publisher: python-publish.yml on FelixTheC/strongtyping

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

Supported by

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