Skip to main content

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.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.

Async functions

Use the dedicated a_match_typing decorator for async def functions. It preserves the coroutine interface while validating annotated arguments before the function runs.

from strongtyping.astrong_typing import a_match_typing
import asyncio


@a_match_typing
async def add(left: int, right: int) -> int:
    return left + right


async def main() -> None:
    result = await add(1, 2)  # 3
    await add(1, "2")  # raises TypeMismatch


asyncio.run(main())

See the async type checking documentation for configuration options and further examples.

🤖 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'

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.11.tar.gz (51.4 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.11-cp314-cp314-win_amd64.whl (96.5 kB view details)

Uploaded CPython 3.14Windows x86-64

strongtyping-3.13.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (222.1 kB view details)

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

strongtyping-3.13.11-cp314-cp314-macosx_11_0_arm64.whl (141.0 kB view details)

Uploaded CPython 3.14macOS 11.0+ ARM64

strongtyping-3.13.11-cp314-cp314-macosx_10_15_x86_64.whl (143.6 kB view details)

Uploaded CPython 3.14macOS 10.15+ x86-64

strongtyping-3.13.11-cp313-cp313-win_amd64.whl (95.8 kB view details)

Uploaded CPython 3.13Windows x86-64

strongtyping-3.13.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (222.1 kB view details)

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

strongtyping-3.13.11-cp313-cp313-macosx_11_0_arm64.whl (140.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

strongtyping-3.13.11-cp313-cp313-macosx_10_13_x86_64.whl (144.1 kB view details)

Uploaded CPython 3.13macOS 10.13+ x86-64

File details

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

File metadata

  • Download URL: strongtyping-3.13.11.tar.gz
  • Upload date:
  • Size: 51.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for strongtyping-3.13.11.tar.gz
Algorithm Hash digest
SHA256 3aa7fb0c2f3ed529d18b1628e728bbe51a871e1c0641e7a3fcf8962979b65316
MD5 6cfbf7a2fad8327906f826df0416c539
BLAKE2b-256 25815cb1657519dc30877d4a532ebd0fa885499589cc96b04d59359c9be73485

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.11-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 2180d9e113c67bcbb07d36735d774f585e86e08d80af93c404837616744510e0
MD5 5102cee1407e1457f468ca0d6363198d
BLAKE2b-256 02ac2efe8d09599555c5a390600d78a51ae1c4670ffaced02eca585dab9e2b31

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.11-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.11-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.11-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 33442f7495be17c65308298fff6018d044c50bfb3a8ef30521bd9e8d7efba8d0
MD5 7e5399377f1d903c1921823c054b2ca2
BLAKE2b-256 7f92de0959edfd5606429774e46dae6641f0e587a9cbafed21659d9050a58458

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.11-cp314-cp314-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef387bb22e00cc304d19ec401642da9a0a52a1a7d3437171401eb1d5c2c262c7
MD5 11af0e79ff6de991975e91ec95d6de34
BLAKE2b-256 c3f058b634d74a8135c4d999ae4cdee51bb3d8dc6a2d74fc3a1af70c5ffbc03f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.11-cp314-cp314-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 c7927c74a89713951fb8a2c9157fcf29468305a46609653f84ba92c56f3d9774
MD5 bb3af0149b611a2a06ea4cecc0999e87
BLAKE2b-256 47ec566ff000cc80d8e247437d80d6ed183eb3c134ae44ddee7aa19125339568

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.11-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2dc1e5dc1a736636657b9a6adad27ff68e8aa9e401fba306a219efb40adb377b
MD5 c3fe47750053c76182bd0bb371dd6515
BLAKE2b-256 34df2dbcd309920e35e9941fe02201691320aa0b2c454c44ad1646dc4e59e723

See more details on using hashes here.

Provenance

The following attestation bundles were made for strongtyping-3.13.11-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.11-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.11-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e35394f4b7c9bac3b0938794802e6526ac7c34f9a072eead08bf38ba4b21fe1e
MD5 c2ebd5c4fb5883df596fe8708f89a6b0
BLAKE2b-256 98b485d0d4f5ed0a0c225db282cb24e4c07ddaef60ca00dbc0752b0178307d28

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.11-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d9a806269c356b4b7c768e5c15caf4b276a658200193a95ffa1d9c76725da983
MD5 976391467cda1d2694c5a30e1d2f3443
BLAKE2b-256 484a12db5e02e3137932d0961e12e3ad18c0f6ae488c85c892020d731a5d0196

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for strongtyping-3.13.11-cp313-cp313-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 ae8b697907954376b1cb4bb408abd3358a9ebed61086883d61974091174388ef
MD5 0599bcec5ff02fa8bfec887f098dc01c
BLAKE2b-256 b23acca4227bd3ae507e55086a1c256c7a8d2b340549b495c9877bc14c0dde15

See more details on using hashes here.

Provenance

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

Release history Release notifications | RSS feed

3.14.5

5 files

3.14.4

5 files

3.14.3

5 files

3.14.2

5 files

3.14.1

5 files

3.14.0.post7

5 files

This release

3.13.11 This release

9 files

3.13.10

9 files

3.13.9

9 files

3.13.8

9 files

3.13.7

8 files

3.13.6

4 files

3.13.5

2 files

3.13.4

2 files

3.13.3

2 files

3.13.2

2 files

3.13.1

2 files

3.12.1

2 files

3.12.0

2 files

3.11.4

2 files

3.11.3

2 files

3.11.1

2 files

3.10.7

2 files

3.10.6

2 files

3.10.5

2 files

3.10.4

2 files

3.10.3

2 files

3.10.2

2 files

3.10.1

2 files

3.10.0

2 files

3.9.2

2 files

3.9.1

2 files

2.2.3

2 files

2.2.2

2 files

2.2.1

2 files

2.1.9

2 files

2.1.8

2 files

2.1.7

2 files

2.1.6

2 files

2.1.5

2 files

2.1.4

2 files

2.1.3

2 files

2.1.2

2 files

2.1.1

2 files

2.1.0

2 files

2.0.2

2 files

2.0.1

2 files

2.0.0

2 files

1.7.0

2 files

1.6.4

2 files

1.6.3

2 files

1.6.2

2 files

1.5.6

2 files

1.5.5

2 files

1.5.4

2 files

1.5.3

2 files

1.5.2

2 files

1.4.2

2 files

1.4.0

2 files

1.3.2

2 files

1.3.1

2 files

1.3.0

2 files

1.2.1

2 files

1.2.0

2 files

1.1.18

2 files

1.1.17

2 files

1.1.16

2 files

1.1.6

2 files

1.1.5

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page