{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"}],"enrichment":{"capability":"Runtime validation of Python objects against type hints, with three speed tiers: one-off checks, cached validators, and compiled validators optimized to near hand-written performance.","skillfed_tags":["type-checking","validation","runtime-checking"],"use_cases":["Validate API request payloads or configuration dicts against a type hint before processing them.","Check data shape in data pipelines where type mismatches indicate upstream errors.","Gate validation behind assertions so it compiles out entirely under Python's -O flag.","Build a fast reusable validator when the same type is checked repeatedly in a loop.","Inspect whether a complex type is validatable before attempting validation, using can_validate()."],"what_it_does":"typing-validation is a runtime type checker that validates Python objects against type hints. It offers three entry points: `validate()` for one-off checks that return True or raise a detailed ValidationError; `validator()` for building a reusable checker when the same type is validated many times; and `compiled_validator()` for generating specialized Python code when validation happens at very high volume. The library reports validation failures with precise location information (e.g., which dict key or list index failed), making it useful for catching data shape problems in production code or during testing.\n\nThe package supports common type forms (list, dict, tuple, union, optional, generic classes) and rejects unsupported types upfront rather than silently passing them. It includes an extension mechanism for NumPy arrays and custom classes. No runtime dependencies means installation is friction-free. The library is actively maintained and typed throughout.","worth_installing":"Yes, if you need runtime type validation and are on Python 3.14+. The library is actively maintained, has no dependencies, and offers a clear performance ladder (one-off, cached, compiled) for different validation frequencies. The copyleft license is a constraint in proprietary contexts but not a blocker for open-source or internal use. No known vulnerabilities."},"id":"typing-validation","links":{"html":"https://skillfed.io/packages/typing-validation","md":"https://skillfed.io/packages/typing-validation.md","pypi":"https://pypi.org/project/typing-validation/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-18","license_spdx":"LGPL-3.0-or-later","license_treatment":"copyleft","name":"typing-validation","python_support":"capped_below_current","summary":"A library to perform runtime validation of Python objects using type hints."},"popularity":{"monthly_downloads":150283,"position":10967,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.1"}
