$npx skillfedfor your agent

strongtyping

Decorator which checks whether the function is called with the correct type of parameters

With conditionsPyPI Quality AssuranceReleased Jul 2026142.3K downloads / moCC-BY-ND-4.0Platform wheel

Decision gist · record as of 2026-08-14

platform wheels — strongtyping-3.14.5-cp314-cp314-macosx_10_15_x86_64.whl · strongtyping-3.14.5-cp314-cp314-macosx_11_0_arm64.whl · strongtyping-3.14.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
v3.14.5 · released 2026-07-28 · Python >=3.14 · 5 runtime deps: ujson, librt, typing-extensions, pytest, ruff

Yes, if you target Python 3.14+ and need runtime type validation as a safety layer. The active maintenance, zero known vulnerabilities, and mypyc performance boost make it solid for production use. The CC-BY-ND-4.0 license is permissive but requires attribution. Not suitable if you're on Python 3.13 or earlier.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.14 or above; older Python versions are not supported.
  • Medium install friction due to compiled wheels for specific Python versions.
  • Active maintenance with recent release (17 days old) and steady repository activity.

License · maintenance · safety

CC-BY-ND-4.0 (permissive) — Licensed under CC-BY-ND-4.0, a permissive license that allows use and modification but requires attribution and prohibits derivative works. Suitable for most projects, though the non-derivative restriction may constrain some use cases.

last release 2026-07-28 (17 days) · last repo commit 2026-08-08 · 121 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 142,255 downloads/mo, #11,220 on PyPI

Verify before relying

pip install strongtyping

from strongtyping.strong_typing import match_typing

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

result = add(1, 2)  # 3
add(1, "2")  # raises TypeMismatch
  • Whether mypyc compilation provides the claimed 5x performance boost in real-world usage patterns.
  • How TypeMismatch exceptions integrate with existing error handling and logging frameworks.
  • Whether the AI Agent Skills integration provides practical value beyond documentation.
Same gist for agents: .md · .json

What it is and what it does

strongtyping is a runtime type-checking decorator for Python functions that validates arguments against their type annotations at call time. When a function is decorated with @match_typing, the decorator intercepts calls and checks that each argument matches its declared type; if not, it raises a TypeMismatch exception. This catches type errors that static type checkers like mypy might miss, particularly in dynamic code paths or when working with external data.

The package includes specialized support for async functions via @a_match_typing, which preserves the coroutine interface while performing the same validation. Since version 3.13.6, the core logic is compiled with mypyc for performance. The library targets Python 3.14 and above, uses ujson for serialization, and includes pytest and ruff in its development stack. It's maintained actively and documented on readthedocs.

Use it for

  • Validate API endpoint parameters at runtime before processing, catching type errors from client requests.
  • Enforce type contracts in data processing pipelines where external or user-provided data enters functions.
  • Debug type-related bugs in dynamic code by catching mismatches early rather than at point of failure.
  • Protect async functions from type errors in concurrent workflows where static analysis may be incomplete.
  • Supplement mypy or other static checkers in codebases where runtime type safety is critical.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you target Python 3.14+ and need runtime type validation as a safety layer.

The active maintenance, zero known vulnerabilities, and mypyc performance boost make it solid for production use. The CC-BY-ND-4.0 license is permissive but requires attribution. Not suitable if you're on Python 3.13 or earlier.

Install

strongtyping on PyPI

Before you install

Medium install friction due to compiled wheels for specific Python versions. Active maintenance with recent release (17 days old) and steady repository activity. Requires Python 3.14 or above, which limits adoption to very recent Python versions.

Requires Python 3.14 or above; older Python versions are not supported.

License in practice

Licensed under CC-BY-ND-4.0, a permissive license that allows use and modification but requires attribution and prohibits derivative works. Suitable for most projects, though the non-derivative restriction may constrain some use cases.

Quickstart

pip install strongtyping

from strongtyping.strong_typing import match_typing

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

result = add(1, 2)  # 3
add(1, "2")  # raises TypeMismatch

Verify before relying

  • Whether mypyc compilation provides the claimed 5x performance boost in real-world usage patterns.
  • How TypeMismatch exceptions integrate with existing error handling and logging frameworks.
  • Whether the AI Agent Skills integration provides practical value beyond documentation.

Package facts

LicenseCC-BY-ND-4.0 permissive
Python supportCapped below the current Python release >=3.14
Install frictionMedium. Platform-specific wheel
Runtime dependencies
5 packages
ujsonlibrttyping-extensionspytestruff
MaintenanceActively maintained 17 days since the last release
Last repo commit
First released
Downloads142,255 / month, #11,220 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15

Evidence: strongtyping-3.14.5-cp314-cp314-macosx_10_15_x86_64.whl; strongtyping-3.14.5-cp314-cp314-macosx_11_0_arm64.whl; strongtyping-3.14.5-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; strongtyping-3.14.5-cp314-cp314-win_amd64.whl

Tags

Capabilities
runtime type checking decoratorfunction argument type validationtype mismatch detectionasync function type checkingruntime type enforcementtype annotation validatordynamic type checking
Topics
runtime-type-checkingasync-supportdecorator-based

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “type mismatch detection”

  • strongtypingA runtime type-checking decorator that validates function arguments…
  • data-platform-helpersProvides version checking and validation utilities for distributed…
  • scitex-devProvides unified developer tooling for the SciTeX ecosystem: audits…

Give your agent the search over MCP, or paste the wish link into any chat.

More Quality Assurance packages

coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also overrides · mypy · func_args · mypy-extensions · retry-decorator · typepy · makefun · types-decorator · typing-inspection · fastjsonschema