{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"}],"enrichment":{"capability":"Provides reusable type protocols and aliases for Python projects to avoid repetitive type definition across codebases.","skillfed_tags":["type-hints","typing-utilities"],"use_cases":["Standardize protocol definitions across multiple projects in an organization.","Reduce boilerplate in library code by importing pre-defined type aliases.","Vendor types into a single project to avoid a runtime dependency while still benefiting from the curated type definitions."],"what_it_does":"useful_types is a collection of reusable Python type protocols and type aliases designed to eliminate repetitive type definitions across projects. It provides common type patterns that developers find themselves writing repeatedly, packaged as a lightweight library with a single dependency on typing_extensions.\n\nThe package is explicitly designed to be optional\u2014the description notes that types can be vendored directly into your project if you prefer to avoid the dependency. It requires Python 3.8 or higher and guarantees support on mypy 1.4 and pyright 1.1.314 or higher, though it may work with other recent type checkers. The package is actively maintained with no known security vulnerabilities.","worth_installing":"Yes, if you maintain multiple Python projects and want to standardize type definitions across them. The low install friction, active maintenance, and explicit vendoring option make it a low-risk addition. If you only need types in a single project or prefer to avoid external dependencies, vendoring the types directly is a viable alternative the maintainers explicitly support."},"id":"useful-types","links":{"html":"https://skillfed.io/packages/useful-types","md":"https://skillfed.io/packages/useful-types.md","pypi":"https://pypi.org/project/useful-types/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-04-20","license_spdx":null,"license_treatment":"unclear","name":"useful-types","python_support":"supports_current","summary":"A collection of useful types."},"popularity":{"monthly_downloads":306722,"position":7784,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.2.1"}
