The Hitchhiker's Guide to CLIs in Python

Vinayak Mehta (~vinayak-mehta)


5

Votes

Description:

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!

Prerequisites:

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: https://www.youtube.com/watch?v=Hn-syMunNy8 (PyCon US 2020)

Article: https://vinayak.io/2020/05/04/the-hitchhikers-guide-to-clis-in-python/

Slides: https://github.com/vinayak-mehta/talks/blob/master/2020-pycon-us/slides.pdf

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:

  • https://github.com/vinayak-mehta/conrad - Track conferences and meetups on your terminal!
  • https://github.com/vinayak-mehta/nbcommands - Unix commands for Jupyter notebooks!
  • https://github.com/camelot-dev/camelot - Extract tables from PDFs!
  • https://github.com/camelot-dev/excalibur - Extract tables from PDFs! (CLI for the web interface)

Blog: https://vinayak.io

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