Creating command line applications in Python

Priyal Trivedi (~priyal)




Using the Click library in Python, the talk would focus on demonstrating the usage of the library to build command line applications.

Among the wide variety of packages and modules in Python that help build command line tools in different ways, one of the more comprehensive module among others like argparse and docopt, is 'Click' which can be used to build applications in command line.

Click, 'Command Line Interface Creation Kit', a tool written by Armin Ronacher. It's just beautiful to work with and create simple, yet powerful, command line tools.

During the talk, I shall cover the benefits of Click over other modules before diving into the illustration of the installation and the demo through example to show some of its main features.

Precisely , the talk will cover the following:

  • An overview of various arguments parsing in docopt, argparse and click
  • Documenting the CLI
  • Usage of exit codes, IO/Error streams
  • Compatible output
  • Understanding Boolean flags
  • Basics of using github, pypi and Linux distributions
  • Testing of CLI application
  • Beautifying the output forms


Basics of Python language

Speaker Info:

Priyal is working as a software developer at Analytics Vidhya. She has previously worked with Ideas lab, Indian institute of Science, Bangalore on various research projects. More details are available on

Section: Others
Type: Talks
Target Audience: Beginner
Last Updated:

Hi! Could you please add up more description and slides to your talk?

Shivani Bhardwaj (~shivan1b)

Hi Amit! The selection process will begin by 4th, It'll increase your chances if you add slides as soon as possible. Also, more description will be helpful to understand the talk and increased votes.

Shashank Kumar (~realslimshanky)

*Priyal, sorry

Shashank Kumar (~realslimshanky)

Would you please upload a outline of your talk asap. The reviewers would be done reviewing the talks by 4th March, the earlier you upload your slides, the better your chances of getting selected. Sorry for the confusion. The selection process will be done by 4th.

Shashank Kumar (~realslimshanky)

Login to add a new comment.