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
mypycis 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'
Metadata
Release files for strongtyping 3.14.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| strongtyping-3.14.5.tar.gz | 51.4 kB | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| strongtyping-3.14.5-cp314-cp314-win_amd64.whl | CPython 3.14 | CPython 3.14 | Windows x86-64 | Details |
| strongtyping-3.14.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl | CPython 3.14 | CPython 3.14 | Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| strongtyping-3.14.5-cp314-cp314-macosx_11_0_arm64.whl | CPython 3.14 | CPython 3.14 | macOS 11.0+ ARM64 | Details |
| strongtyping-3.14.5-cp314-cp314-macosx_10_15_x86_64.whl | CPython 3.14 | CPython 3.14 | macOS 10.15+ x86-64 | Details |
Total release size: 654.9 kB
Release files / strongtyping-3.14.5.tar.gz
| Download URL | strongtyping-3.14.5.tar.gz |
|---|---|
| Size | 51.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a4fa460bbc51f3b359e675bf617e34073b0d0953529708fb57dd5ece814b59a9
|
|
BLAKE2b-256 checksum How to use checksums |
51542f6519ffcf90b41a1e22833b31834a655aa745cd22654ab22c7991a84c73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.
Transparency logRelease files / strongtyping-3.14.5-cp314-cp314-win_amd64.whl
| Download URL | strongtyping-3.14.5-cp314-cp314-win_amd64.whl |
|---|---|
| Size | 96.6 kB |
| Tags | CPython 3.14 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
fd5d30afecb4c403725dd2d9771895223b4b8a9919bbc13b4f0c0878d82d56ab
|
|
BLAKE2b-256 checksum How to use checksums |
cd9a05e4cb20c4b4c2083602eca7adca6890ee997a06298dc3b3e6ca509cbc46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.
Transparency logRelease files / strongtyping-3.14.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
| Download URL | strongtyping-3.14.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 222.2 kB |
| Tags | CPython 3.14 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
e5c7e3324e65551235a0c62663e70819370d5c894c8d6c008c634296a58e41f6
|
|
BLAKE2b-256 checksum How to use checksums |
800ca133ea3981fc4a21b5d2269ae33e0fbe942b838a33fe62804ac16076bacf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.
Transparency logRelease files / strongtyping-3.14.5-cp314-cp314-macosx_11_0_arm64.whl
| Download URL | strongtyping-3.14.5-cp314-cp314-macosx_11_0_arm64.whl |
|---|---|
| Size | 141.1 kB |
| Tags | CPython 3.14 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
bec56939b355fa7e21ed9b6da2b3e80c537aa65a951a9e87740152d47443f81e
|
|
BLAKE2b-256 checksum How to use checksums |
bff443239cb2cea18c11da60a3961bf72a9d88ef2e5e69f481cead815c9956e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.
Transparency logRelease files / strongtyping-3.14.5-cp314-cp314-macosx_10_15_x86_64.whl
| Download URL | strongtyping-3.14.5-cp314-cp314-macosx_10_15_x86_64.whl |
|---|---|
| Size | 143.7 kB |
| Tags | CPython 3.14 macOS 10.15+ x86-64 |
|
SHA-256 checksum How to use checksums |
01f8286e4c78bee2052563f4515382e08015febc67c779e235f058fbe52e5f4d
|
|
BLAKE2b-256 checksum How to use checksums |
527d83a6f07b2fc8511ad578bb206667e46a7f6b156d26452e8dd4f842843ec7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 28, 2026.
Transparency log