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

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 have been moved to '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.8.tar.gz (44.0 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.8-cp314-cp314-win_amd64.whl (89.3 kB view details)

Uploaded CPython 3.14Windows x86-64

strongtyping-3.13.8-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.13.8-cp314-cp314-macosx_11_0_arm64.whl (133.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

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

Uploaded CPython 3.14macOS 10.15+ x86-64

strongtyping-3.13.8-cp313-cp313-win_amd64.whl (88.7 kB view details)

Uploaded CPython 3.13Windows x86-64

strongtyping-3.13.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (213.6 kB view details)

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

strongtyping-3.13.8-cp313-cp313-macosx_11_0_arm64.whl (133.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

strongtyping-3.13.8-cp313-cp313-macosx_10_13_x86_64.whl (138.8 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: strongtyping-3.13.8.tar.gz
  • Upload date:
  • Size: 44.0 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.8.tar.gz
Algorithm Hash digest
SHA256 e632c1c14f2907ef7f28d774349b90b28ec3e35faf744443b2f25d10097b9c30
MD5 c1b329ed795e200a02082e052e04635f
BLAKE2b-256 009dadcb4a63a5a8ba37334ce8128127e8a2c4f60c8d5b68b57e87d731447785

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.8-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 21639605cdf6837479b83c3a63e5ba1211f20653e3d7f9995784b13466db7525
MD5 182de955d6831f4e7732dce4f8ed93a8
BLAKE2b-256 30c9de25f299b5c1be737b9e64fbb2594214059b2e81082f728579a68fe86602

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.8-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.8-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.8-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 94f9b10777cdd6dde2c16f5844bd8ce224472e3e66f92f420f384a59f2e52063
MD5 e316cdf61ed166a2fc962483f4983c80
BLAKE2b-256 089a11a53fd418d7547384fbf26c585642a45fc7ad27a71ade2c005d40bcb4ae

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.8-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d6d107a839e2a85972c5deef4b2f46268e72abe60a7512019cca1842c203ecb0
MD5 60ab4cb04e096e142391f7dc20cc9c5a
BLAKE2b-256 dd6078a2aea3f55dde31ede5b78249982d95441f0ae61b03c010754933620027

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.8-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 2577a6538e51b059ffeb03cc4d42bd1c44f6d9c049502c4ec87981214df18ed7
MD5 49ff484dea7ad7c19621b6c7fef09353
BLAKE2b-256 26190e7c9747f263b5ed94f319afce5d57f7eca446940192542f89f4d72e2294

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.8-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.8-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for strongtyping-3.13.8-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9f8d55439f920f93389db758d08d78eba78cf2197766dd7b65671f9a2f4ed81a
MD5 fde13328cc6ff16b5883a6e41b241883
BLAKE2b-256 60243d526cd2162d6561c4e06f9ec2915e737ee50ebe82af3cd9c3b3a2ff94e7

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.8-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.8-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.8-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3f32210b96e8bb83824193d93abf54c022a2a0bad0b27b0e64e752d053b0323a
MD5 126dac6ee2d24b173390cd2070b07f2e
BLAKE2b-256 caac9310f4b9d4f74b57d430a5e360cf049b9ad3821ba9f8c862e8245e17d376

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.8-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3b7b93e90b4bdd1fdbb16f0a766ce65dcbc8207a030b864d90e5cf2c3624b22b
MD5 cb3420cc869bc232fb430b1503fd4c2b
BLAKE2b-256 0a6ef6815fcdc369e1b2e463dcc084de8cd8caa470c8c0ebee46cb231ca4efa9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.8-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 d1a368bcdeee3183694f3fab37b8d588ac79c25e0db427ff4bfd72a78cc43f2a
MD5 a112dc9cbdb6da0e1ebe9591a0b70afe
BLAKE2b-256 756cb3cd5186d6979a52d1a3c1c4350c57a7657714bf0375178fe6d16a7bb41a

See more details on using hashes here.

Provenance

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