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 Ruff uv 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.3.tar.gz (44.1 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.3-cp314-cp314-win_amd64.whl (89.8 kB view details)

Uploaded CPython 3.14Windows x86-64

strongtyping-3.14.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (214.6 kB view details)

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

strongtyping-3.14.3-cp314-cp314-macosx_11_0_arm64.whl (134.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

strongtyping-3.14.3-cp314-cp314-macosx_10_15_x86_64.whl (139.2 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

File details

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

File metadata

  • Download URL: strongtyping-3.14.3.tar.gz
  • Upload date:
  • Size: 44.1 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.3.tar.gz
Algorithm Hash digest
SHA256 c8b7ab29e310dd42813c4b268cfae4974eb4f014f23436c7f7358aecfeb78bba
MD5 992e73f5ed836db243ba855eb16a564b
BLAKE2b-256 af3ffe786a51851cc2f37ccf56613bea197b56cc870a48d496548cecfc94c9ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.3.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.3-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for strongtyping-3.14.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 921736e94fe641ed87ba9cc5224c9679a8423a1a6c22b88f20197718a6f9051e
MD5 469d43e590bf3c3ee27ce060cef50c6d
BLAKE2b-256 864f14e9581d9a759bd85e8235db1220fbd9f237fda442b13d27a63038fe1724

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.3-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.3-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.3-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e253ae8814b47bb574d008a77d7c9fa3135fa3fd43100bc5811597270036ed43
MD5 44f41d70ea5fabf8e0c6a79a0d6731f7
BLAKE2b-256 5f3fc39e5c47f6b630f4fddb71a9126b7aed88f78d2cafc47e85e584205c6e53

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.3-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.3-cp314-cp314-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for strongtyping-3.14.3-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6e13c40e0c54634cb01f2e032e446f80943ad94622079eaaf3c9d4cb8fd7729c
MD5 99879e256a5e3ca76f2bb697a6fd1aae
BLAKE2b-256 bc3135fa7e11467edf201015e5011aa6ce171646f4c7c9c99ec537347439f608

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.3-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.3-cp314-cp314-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for strongtyping-3.14.3-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2855d954745705d620962e6fcb3ec86a0b3f57f5c2334a2a2a769a96f67a0ba0
MD5 4e0cdde31afc19b8cd41b08369d1488d
BLAKE2b-256 17c92ed2d9502fd74a9501669ab001e9e9f53cd1b26e05abc32b6e4c6bfaa835

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.3-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