parameter-decorators
Handy decorators for converting parameters
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Installation is straightforward with no runtime dependencies.
- However, the package is dormant—last updated 2023-01-31 with no commits since 2023-10-03, and the repository has only 2 stars, suggesting minimal community adoption or ongoing maintenance.
License · maintenance · safety
copyleft license (copyleft) — Licensed under GNU General Public License Version 3, 29 June 2007, a copyleft license. If you distribute software using this package, you must license your entire work under GPLv3 and make source code available to recipients.
last release 2023-01-31 (1291 days) · last repo commit 2023-10-03 · 2 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 314,895 downloads/mo, #7,693 on PyPI
Alternatives
Verify before relying
python3 -m pip install parameter-decorators
from parameter_decorators import str_to_path
@str_to_path('input_file')
def get_parent(input_file):
return input_file.parent
print(get_parent('/usr/bin/python'))- What specific parameter conversion decorators are included beyond str_to_path shown in the documentation excerpt.
- Whether the package handles edge cases like None values, type validation failures, or nested parameter structures.
- Performance characteristics when decorators are applied to functions with many parameters or called frequently.
What it is and 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.
The package has no runtime dependencies and supports Python 3.7, 3.8, 3.9, 3.10, and 3.11. It is dormant—the 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.
Use it for
- 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.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
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.
Install
parameter-decorators on PyPI
Before you install
Installation is straightforward with no runtime dependencies. However, the package is dormant—last updated 2023-01-31 with no commits since 2023-10-03, and the repository has only 2 stars, suggesting minimal community adoption or ongoing maintenance.
License in practice
Licensed under GNU General Public License Version 3, 29 June 2007, a copyleft license. If you distribute software using this package, you must license your entire work under GPLv3 and make source code available to recipients.
Quickstart
python3 -m pip install parameter-decorators
from parameter_decorators import str_to_path
@str_to_path('input_file')
def get_parent(input_file):
return input_file.parent
print(get_parent('/usr/bin/python'))
Verify before relying
- What specific parameter conversion decorators are included beyond str_to_path shown in the documentation excerpt.
- Whether the package handles edge cases like None values, type validation failures, or nested parameter structures.
- Performance characteristics when decorators are applied to functions with many parameters or called frequently.
Package facts
| License | copyleft license copyleft |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Dormant 1,291 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 314,895 / month, #7,693 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: parameter_decorators-0.0.2-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “parameter type conversion decorators”
- parameter-decoratorsProvides decorators that automatically convert function parameters to…
- pyre-extensionsProvides typing extensions for the Pyre type checker, including…
- click-datetimeAdds datetime type support to Click, allowing CLI developers to parse…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also pytest-parametrization · python-utils · makefun · plac · logdecorator · multitasking · wirerope · decorator · fastapi-decorators · decopatch