EuroPython 2015

Building nice command line interfaces - a look beyond the stdlib

One of the problems programmers are most often faced with is the parsing and validation of command-line arguments. If you’re new to Python or programming in general, you might start by parsing sys.argv. Or perhaps you might’ve already come across standard library solutions such as getopt, optparse or argparse in the official documentation. While these modules are probably preferable to parsing sys.argv yourself, you might wonder if there are more satisfactory solutions outside of the standard library. Well, yes there are!

This talk will give you an overview of some popular alternatives to the standard library solutions (e.g. click, docopt and cliff), explain their basic concepts and differences and show how you can test your CLIs.

in on Wednesday 22 July at 15:45 See schedule

Do you have some questions on this talk?

New comment