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

Uploaded CPython 3.14Windows x86-64

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

Uploaded CPython 3.14macOS 11.0+ ARM64

strongtyping-3.14.2-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.2.tar.gz.

File metadata

  • Download URL: strongtyping-3.14.2.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.2.tar.gz
Algorithm Hash digest
SHA256 b36b1e7610a7bb925f2557377d0788c2e5d15d228d6572816b15a17aeb76bdfb
MD5 81dc34f00fe11551be6a359ee9276c15
BLAKE2b-256 0fd28dd62b9a3cced04407394bc70f841e6c30df5f6d447c1f70d8f62f2f5752

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.14.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 e069029c0d72c97c9a65fecdee459f403606aec6c0b355b807f4ac8b4ace8719
MD5 d8ca634e704d95490ba83227aebc0d24
BLAKE2b-256 44729f48c4713b6f78a981ac67332eab5cd58cde3d9bc358180a2c62241d96c8

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.2-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.2-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.2-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fc8541a176a4866b365dd0a22baf5208b48e8629c3a3d2db2411c6adf4d0dd3f
MD5 4aefc8bbcd27af06c9c473fc86f63359
BLAKE2b-256 29d9ef5ef7578290250bc2bd9f1184685ad40f717b60cb6692c82d889288d045

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.14.2-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3bf5dfb91520da2984395ebdb707435aaaee698749fe49131eaa14fcc171377d
MD5 2b671198076423436b2165c7a9ae4ec6
BLAKE2b-256 3fd83433e90b8adc1d12a5a9090aeb29ecbbf23b1cbf24236a8404c861e533c3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.14.2-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 71c0e9940e0d6b0b8e88b1dc7478e911e3ba100b5e610da77eed751556a899c3
MD5 b446650878b5d545794d22a2e5e2c9ba
BLAKE2b-256 ef6ea940228b5020d7ccef212e9112cbe8b60864b25a675e5e681eac7fe08e5a

See more details on using hashes here.

Provenance

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