{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/2"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"}],"enrichment":{"capability":"Typepy checks, validates, and converts Python variable types at runtime, supporting built-in types like bool, int, float, str, list, dict, datetime, and specialized types like IP addresses and null strings.","skillfed_tags":["type-validation","data-coercion","input-validation"],"use_cases":["Validate user input in web forms or APIs before processing (e.g., ensure a field is a valid integer or IP address).","Convert CSV or JSON data fields to the correct Python type with clear error handling.","Check and coerce configuration values at application startup.","Build data pipelines that need to handle heterogeneous input types safely.","Implement strict type contracts in data validation layers without external schema libraries."],"what_it_does":"Typepy is a runtime type-checking and conversion library that wraps Python's built-in types and adds specialized validators for domains like IP addresses and null strings. It provides three main operations: is_type() to check if a value matches a type class, validate() to raise an exception on mismatch, and convert()/try_convert()/force_convert() to coerce values between types with varying strictness.\n\nThe library is useful when you need to enforce or transform types in data pipelines, user input validation, or configuration parsing. It depends only on mbstrdecoder and works across Python 3.9 through 3.14, making it a lightweight addition to projects that handle mixed or uncertain input types.","worth_installing":"Yes. Typepy is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. It's a focused tool for a common problem\u2014runtime type validation and conversion\u2014and ranks in the top 5000 PyPI packages by download volume. Install it if your code needs to safely check or coerce types at runtime."},"id":"typepy","links":{"html":"https://skillfed.io/packages/typepy","md":"https://skillfed.io/packages/typepy.md","pypi":"https://pypi.org/project/typepy/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-09","license_spdx":null,"license_treatment":"permissive","name":"typepy","python_support":"supports_current","summary":"typepy is a Python library for variable type checker/validator/converter at a run time."},"popularity":{"monthly_downloads":9663651,"position":1510,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.0"}
