The Hitchhiker's Guide to CLIs in Python

Vinayak Mehta (~vinayak-mehta)




Command-line applications and interfaces are used by both newcomers and experienced Python developers everyday. But do you know how they came to be? Hop on to this ship as we go through the CLI galaxy and look at its history, explore the CLI anatomy and discover some Python packages that can help us create them.

We’ll then look at some widely used CLIs of our time. And emulate one of them by creating our own CLI using Click. Finally, we’ll package it and publish it on PyPI. Are you ready to travel faster-than-light using this ship’s Infinite Improbability Drive? Carry your towel!


This talk is aimed to be a guide in writing CLIs, for Python developers of all levels. No background knowledge is required.

Content URLs:

Video: (PyCon US 2020)



Speaker Info:

Wannabe hoopy frood. Working on open-source developer tools.

Speaker Links:

I love building CLI tools! Here are some open-source CLIs that I’ve built using Click:

  • - Track conferences and meetups on your terminal!
  • - Unix commands for Jupyter notebooks!
  • - Extract tables from PDFs!
  • - Extract tables from PDFs! (CLI for the web interface)


Id: 1715
Section: Developer tools and automation
Type: Talks
Target Audience: Beginner
Last Updated: