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.13 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.13.9.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.13.9-cp314-cp314-win_amd64.whl (89.8 kB view details)

Uploaded CPython 3.14Windows x86-64

strongtyping-3.13.9-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.13.9-cp314-cp314-macosx_11_0_arm64.whl (134.2 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.14macOS 10.15+ x86-64

strongtyping-3.13.9-cp313-cp313-win_amd64.whl (89.1 kB view details)

Uploaded CPython 3.13Windows x86-64

strongtyping-3.13.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (214.7 kB view details)

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

strongtyping-3.13.9-cp313-cp313-macosx_11_0_arm64.whl (134.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

strongtyping-3.13.9-cp313-cp313-macosx_10_13_x86_64.whl (139.4 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: strongtyping-3.13.9.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.13.9.tar.gz
Algorithm Hash digest
SHA256 8559fd17ff5a0f4a6902c6460e10b998c80ebe7ba592b03de6fc4892902767f3
MD5 0965325399a32d3fa09ed7f4f9551d5c
BLAKE2b-256 fe5c18a050734c519c8014db1aa024b4a577a4141b655a017455bc9d35a10b82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.9-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 680487d5ff9cde2566d7214f397823cef1647525891c8f5d6727573e9328c30a
MD5 94633612c07a5424c76cfdcfd021412c
BLAKE2b-256 d1f3f59cde81c5d2586c14d7cf0bb418713d1bed764d3a040b447062a61f188b

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.9-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.13.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for strongtyping-3.13.9-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b252ee9a358202ad1399871431b26f9093e6bcaeab40f1c9bdd8d753fea6e17b
MD5 60a265d8534c9af683511c9ecf1dc98c
BLAKE2b-256 c59fc51209bad052a7b1ef95b7d3c67f1b869eacc7b8b3deb7b8b1f003e2e460

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.9-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8d235620049a1dfd9c57acb6842504ccd6567ac2c6eac0cbc025fcf3cdb31d14
MD5 cb79c4b75cd8dc226046cb563c6f5234
BLAKE2b-256 b20535560657a61c6f46f55f5bf4fa4eb6f894456e966a527c291a1d06fac7d8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.9-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 e738ef78f2f5cd4523dee492b5f55555b7b6c8031b03d2cf006bf36e22f79b35
MD5 057f0f825c8c1fd48d4743ca16720c3e
BLAKE2b-256 574e12e0074942c30d18cba7931deca0255b8ff0efa46a5d837f92a002a3199a

See more details on using hashes here.

Provenance

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

File details

Details for the file strongtyping-3.13.9-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for strongtyping-3.13.9-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c7a3ffa7767b4a8a7929330fb87563f18db7c97233eb1ad50db7e74b3d14f060
MD5 3da090091f500d15b091387e345ee703
BLAKE2b-256 79a15d86a3adbb6030250036884f359ce9922bd71a996fd19e5768b31ef15a27

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.9-cp313-cp313-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.13.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for strongtyping-3.13.9-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9a39c0a226224cfa1297fb7afdc857eac691cbf39616adff2e4867cb1e8e154e
MD5 e05e1f3fb471d1b7a21715e75b30c482
BLAKE2b-256 3396b0a7bda5b2d9efbdd1d7d05a13dbbfe6b6267f26406e11b687a994c060f2

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.9-cp313-cp313-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.13.9-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for strongtyping-3.13.9-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 21715130b5ad4a4dec5cd4e52e992e46c27c28ce2469f80637e34f87bf0ebe94
MD5 5baa3e66bf0318d816805c4d66c7b117
BLAKE2b-256 ec30fe1a6c980d8aeeef3d090bb6bc50f794d5bac4107586d3f24fb1c805d1bd

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.9-cp313-cp313-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.13.9-cp313-cp313-macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for strongtyping-3.13.9-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 e2051463f486e69981bdf898d80a2fc684a7fa853bf3608c15a4fd1d95c69489
MD5 c79c726370aeaa26590694d7ee9ec247
BLAKE2b-256 7cf6a39c28b438e600acbceb0ede96ea6213e6a029361a02903f18c7b76e22ba

See more details on using hashes here.

Provenance

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