{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"}],"enrichment":{"capability":"Provides decorators that automatically convert function parameters to specified types\u2014for example, converting string arguments to Path objects without manual casting in the function body.","skillfed_tags":["decorator","type-conversion"],"use_cases":["Decorate functions that accept file paths as strings to automatically convert them to Path objects for safer filesystem operations.","Reduce boilerplate in functions that need to coerce arguments to specific types before processing.","Apply consistent type conversions across multiple functions without repeating casting logic in each function body.","Simplify function signatures by moving type-conversion logic into declarative decorators."],"what_it_does":"parameter-decorators is a small utility library that provides decorator functions to automatically convert function parameters from one type to another at call time. Instead of manually casting arguments inside your function, you decorate the function and specify which parameters should be converted and how. The example shows @str_to_path('input_file'), which converts a string argument to a Path object before the function receives it.\n\nThe package has no runtime dependencies and supports Python 3.7, 3.8, 3.9, 3.10, and 3.11. It is dormant\u2014the last release was 2023-01-31, with no activity since 2023-10-03. The repository has minimal visibility (2 stars), suggesting it is either a personal utility or has seen limited adoption. The GNU General Public License Version 3 means any code that distributes this package must also be licensed under GPLv3.","worth_installing":"No, unless you have a specific need for parameter-conversion decorators and accept the GPLv3 copyleft constraint. The package is dormant with minimal community adoption, no recent maintenance, and limited documentation of its full decorator set. The single example shown is trivial to implement inline. Consider it only if you need a reusable decorator library and can commit to GPLv3 licensing."},"id":"parameter-decorators","links":{"html":"https://skillfed.io/packages/parameter-decorators","md":"https://skillfed.io/packages/parameter-decorators.md","pypi":"https://pypi.org/project/parameter-decorators/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-01-31","license_spdx":null,"license_treatment":"copyleft","name":"parameter-decorators","python_support":"supports_current","summary":"Handy decorators for converting parameters"},"popularity":{"monthly_downloads":314895,"position":7693,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.2"}
