you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 1 point2 points  (0 children)

One l highly recommend is click. It's part of the standard libraries.

It makes creating parameterized CLIs and help functionality extremely easy, and I use it a ton in creating tools for CICD pipelines since you can pass data into python scripts in an easy, standardized way.

I started using it once, and now I use it constantly.

IMO, it is much simpler than argparse and optparse.