Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
parameter-decorators
Advanced tools
Handy decorators for converting parameters
Install the last released version using pip
:
python3 -m pip install -U parameter-decorators
Or install the latest version from sources:
git clone git@github.com:matan1008/parameter-decorators.git
cd parameter-decorators
python3 -m pip install -U -e .
The package contains several handy decorators, lets give an example with str_to_path
:
from parameter_decorators import str_to_path
@str_to_path('input_file')
def get_parent(input_file):
return input_file.parent
# Will print "/usr/bin"
print(get_parent('/usr/bin/python'))
FAQs
Handy decorators for converting parameters
We found that parameter-decorators demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.