{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/6"}],"enrichment":{"capability":"Provides utilities to inspect and validate Python type annotations, including functions to check subtype relationships, extract type origins and arguments, and resolve forward references in type hints.","skillfed_tags":["type-checking","backport","abandoned"],"use_cases":["Validate that function argument types conform to expected type hierarchies in runtime type-checking frameworks","Introspect generic types to extract their origin and arguments for dynamic type processing or serialization","Resolve forward references in type hints when working with recursive or mutually-referential type definitions","Support type checking on Python 3.6\u20133.7 where standard library typing utilities are incomplete"],"what_it_does":"typing-utils is a utility library for inspecting and validating Python type annotations. It provides four main functions: issubtype() checks whether one type is a subtype of another (including support for unions, nested types, and forward references); get_origin() extracts the unsubscripted base of a generic type; get_args() retrieves the type arguments from a parameterized type; and get_type_hints() resolves type hints while handling forward references and optional defaults.\n\nThe package was designed as a backport of typing utilities for Python 3.6 and 3.7, but many of its functions now exist in the standard library for Python 3.8+. It has no runtime dependencies and installs cleanly, but development stopped in 2021 and the repository is no longer maintained. Before adopting it, verify whether the standard library or a more actively maintained alternative meets your needs.","worth_installing":"No, unless you are maintaining legacy code on Python 3.6\u20133.7. For Python 3.8+, use the standard library's typing.get_origin and typing.get_args instead. The package is abandoned (last commit November 2022, no releases since May 2021) and offers no advantages over maintained alternatives or built-in functionality. If you do need it for legacy support, the lack of security vulnerabilities and permissive license make it safe to use, but expect no future maintenance."},"id":"typing-utils","links":{"html":"https://skillfed.io/packages/typing-utils","md":"https://skillfed.io/packages/typing-utils.md","pypi":"https://pypi.org/project/typing-utils/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-05-23","license_spdx":null,"license_treatment":"permissive","name":"typing-utils","python_support":"supports_current","summary":"utils to inspect Python type annotations"},"popularity":{"monthly_downloads":1016273,"position":4500,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.1.0"}
