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.14.0.post7.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.0.post7-cp314-cp314-win_amd64.whl (89.4 kB view details)

Uploaded CPython 3.14Windows x86-64

strongtyping-3.14.0.post7-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.0.post7-cp314-cp314-macosx_11_0_arm64.whl (133.8 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

strongtyping-3.14.0.post7-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.0.post7.tar.gz.

File metadata

  • Download URL: strongtyping-3.14.0.post7.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.0.post7.tar.gz
Algorithm Hash digest
SHA256 e902675d2b56d6bb34ea6908656c5c53c5ce9b5dfbd1340cebf4f1b9e4d79834
MD5 54768f3fdd65fcc99255046291ffa10d
BLAKE2b-256 d92584a431552b412cfc4004ba6a50e328a86cda9c5e6a4fb9fd974368eed47d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.14.0.post7-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 0b755f7e32d91a9bfece135e077f7b4dffd628559fe9984cc61afe4a37cb2620
MD5 d8088cae44b27a38f4a38ceebad8499b
BLAKE2b-256 6d8c7b5177ae5096c9c9e394f2de7f918279331cf8b4ef2a1642b33c0d76ca10

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.14.0.post7-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.0.post7-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.0.post7-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 75e06e22d7dbf0ba6ebcbb94214f837fed3fa6e80d0c118e37be398086028c3b
MD5 763d6271d95836e9073b633ad0a2a34f
BLAKE2b-256 6ff0edc98a7e3f4d2854dd5da9fa5c3a2f50ba30ee757271aa5ccd596b99391f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.14.0.post7-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c5346b2e20418d798118b039dd55e73ed1b7ac010e03c4d6f5c85c4fa57f2e0
MD5 93faabeaeb2bea3159cc5c5ad9452661
BLAKE2b-256 069974d067503b0ab2f262d88d09352aee839e7289b4e3db8bfc41c7c8e16752

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.14.0.post7-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 377d75ab8baac64c0e1448f5a7ca40aa27fc13b1faddeb4f6aa5678c21a059d7
MD5 9c2f33774a8abe36c50788888b64603a
BLAKE2b-256 30d8c6660df63e03fe8ca05f02e45461f30844040d99ae1b71383345be88ca09

See more details on using hashes here.

Provenance

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