Piou

Latest version: v0.16.0

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

Scan your dependencies

Page 1 of 11

0.16.0

What's new

- Adding the possibility to add a `main` command



> If you want to run a function without specifying a command, you can use the `main` decorator
> or the `is_main` parameter to the `command` decorator:
>
> python
> cli.command(help='Run without command', is_main=True)
> def run_main():
> pass
>
> or even simpler:
>
> python
> cli.main()
> def run_main():
> pass
>
>
> This will allow you to run the function without specifying a command:
>
> bash
> python -m piou.example.simple_main -h
>
>
> **Note**: You can only have one `main` function in the CLI.
>

0.15.0

Feat

- adding support for callable choices (10)

0.14.2

Fix

- updating classifiers

0.14.1

Fix

- bump version

0.14.0

Feat

- adding CommandError to display a message in case of an exception

0.13.4

Fix

- rich version

Page 1 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.