Decorator which checks whether the function is called with the correct type of parameters
Project description
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.
🤖 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file strongtyping-3.14.1.tar.gz.
File metadata
- Download URL: strongtyping-3.14.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cee2faf122e13518e64ea5167a96dff5df0c00dc664877fbcb696558710f350f
|
|
| MD5 |
9079ae33de0d94879c2cea449d6d0300
|
|
| BLAKE2b-256 |
61b25c1c329b558b40186bbbf1736b013134513ff64393deb786bc19e07e332e
|
Provenance
The following attestation bundles were made for strongtyping-3.14.1.tar.gz:
Publisher:
python-publish.yml on FelixTheC/strongtyping
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strongtyping-3.14.1.tar.gz -
Subject digest:
cee2faf122e13518e64ea5167a96dff5df0c00dc664877fbcb696558710f350f - Sigstore transparency entry: 1496860355
- Sigstore integration time:
-
Permalink:
FelixTheC/strongtyping@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Branch / Tag:
refs/tags/v3.14.1 - Owner: https://github.com/FelixTheC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file strongtyping-3.14.1-cp314-cp314-win_amd64.whl.
File metadata
- Download URL: strongtyping-3.14.1-cp314-cp314-win_amd64.whl
- Upload date:
- Size: 89.4 kB
- Tags: CPython 3.14, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1b718685564d5e4b943a3a97a1845dc68320439b2249d5ef3f77d11852a0594
|
|
| MD5 |
454d75890b4d9ed417da75d634262bff
|
|
| BLAKE2b-256 |
80f4a0fb7fa9e13d28d81be725d8cfefc8e830b3ea2624327868026b5f223007
|
Provenance
The following attestation bundles were made for strongtyping-3.14.1-cp314-cp314-win_amd64.whl:
Publisher:
python-publish.yml on FelixTheC/strongtyping
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strongtyping-3.14.1-cp314-cp314-win_amd64.whl -
Subject digest:
c1b718685564d5e4b943a3a97a1845dc68320439b2249d5ef3f77d11852a0594 - Sigstore transparency entry: 1496860764
- Sigstore integration time:
-
Permalink:
FelixTheC/strongtyping@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Branch / Tag:
refs/tags/v3.14.1 - Owner: https://github.com/FelixTheC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file strongtyping-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.
File metadata
- Download URL: strongtyping-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
- Upload date:
- Size: 213.4 kB
- Tags: CPython 3.14, manylinux: glibc 2.17+ x86-64, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ef31d60f77e6b57fbd8cc0153f2144e4dfa73808fb4a6610ae7c8301dfa46cb4
|
|
| MD5 |
cdbc790201e36eff91d9ea97077ea1d8
|
|
| BLAKE2b-256 |
02843421c7aaebda08116f0d8ead5aa850acb2a5c970fec897f4861fc9f7f57e
|
Provenance
The following attestation bundles were made for strongtyping-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:
Publisher:
python-publish.yml on FelixTheC/strongtyping
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strongtyping-3.14.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl -
Subject digest:
ef31d60f77e6b57fbd8cc0153f2144e4dfa73808fb4a6610ae7c8301dfa46cb4 - Sigstore transparency entry: 1496862608
- Sigstore integration time:
-
Permalink:
FelixTheC/strongtyping@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Branch / Tag:
refs/tags/v3.14.1 - Owner: https://github.com/FelixTheC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file strongtyping-3.14.1-cp314-cp314-macosx_11_0_arm64.whl.
File metadata
- Download URL: strongtyping-3.14.1-cp314-cp314-macosx_11_0_arm64.whl
- Upload date:
- Size: 133.8 kB
- Tags: CPython 3.14, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
40eff2c9c006a162becf02aa7a0e4c6e8e1b17d79fccf1c056d7bf8a252a4878
|
|
| MD5 |
0355ffa4e5c5880e9e1680c61c069317
|
|
| BLAKE2b-256 |
ad113f419fb5eaa1097e8bbf024ba60d3e292eb60633cbcf7a53bd2baa30d708
|
Provenance
The following attestation bundles were made for strongtyping-3.14.1-cp314-cp314-macosx_11_0_arm64.whl:
Publisher:
python-publish.yml on FelixTheC/strongtyping
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strongtyping-3.14.1-cp314-cp314-macosx_11_0_arm64.whl -
Subject digest:
40eff2c9c006a162becf02aa7a0e4c6e8e1b17d79fccf1c056d7bf8a252a4878 - Sigstore transparency entry: 1496861245
- Sigstore integration time:
-
Permalink:
FelixTheC/strongtyping@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Branch / Tag:
refs/tags/v3.14.1 - Owner: https://github.com/FelixTheC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Trigger Event:
release
-
Statement type:
File details
Details for the file strongtyping-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl.
File metadata
- Download URL: strongtyping-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl
- Upload date:
- Size: 138.7 kB
- Tags: CPython 3.14, macOS 10.15+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaf0e4b0f77f1ea5b03b14c9ff7672dac54426df6935d0bdb2c5b17b213526b8
|
|
| MD5 |
c42cd3858447eca1f4b8f9700c467ae6
|
|
| BLAKE2b-256 |
8efcf21672223b1d9606d4e23773699f279120dcbef2f7d7da9969fd2fcfc649
|
Provenance
The following attestation bundles were made for strongtyping-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl:
Publisher:
python-publish.yml on FelixTheC/strongtyping
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
strongtyping-3.14.1-cp314-cp314-macosx_10_15_x86_64.whl -
Subject digest:
aaf0e4b0f77f1ea5b03b14c9ff7672dac54426df6935d0bdb2c5b17b213526b8 - Sigstore transparency entry: 1496861819
- Sigstore integration time:
-
Permalink:
FelixTheC/strongtyping@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Branch / Tag:
refs/tags/v3.14.1 - Owner: https://github.com/FelixTheC
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@aa1432d94cf17577fc4b3bac2fed6dcf7d47e4d7 -
Trigger Event:
release
-
Statement type: