Pyparam

Latest version: v0.5.4

Safety actively analyzes 626381 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.4.3

- Allow default value of other types to be None
- Fix None value conversion at runtime

0.4.2

- Don't use `hasattr` for `__contains__` for Namespace, which allows override of `__getattr__`
- Move help_modifier to params construct
- Update HelpAssembler when command is reused.
- Allow completions for show=True only parameters
- Add kwargs of params to to_dict
- Fix fish completion shell code
- Fix prog update for Params
- Separate defaults of params and param to save size of dumped dict/file
- Add update (`__or__`, `__ior__`) for namespace
- Fix positional/command next to bool from cli
- Fix decendents of ns parameter are hidden from completions if the ns parameter is hidden.

0.4.1

- Add help_modifier argument for `params.parse` to modify help parameters and commands
- Add `params.to_file` to dump `params`
- Allow command reuse
- Add `force` for `params.from_file`, `params.from_dict` to force adding parameters and commands

0.4.0

- Allow parameter reuse
- Add shell completions support
- Add dir parameter type. It is not different as path parameter, but it show different complete candidate for shell completions.

0.3.2

- Fix required list parameter not raise error when on value provided

0.3.1

- Add default to from_arg

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.