Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Building Python CLI Apps with Click
Highest Rated
Rating: 4.7 out of 5(88 ratings)
495 students

Building Python CLI Apps with Click

Harness the power of Python to drive automation and productivity by building Command Line Interface (CLI) Applications
Created byAdam McQuistan
Last updated 11/2022
English

What you'll learn

  • CLI Applications with Python
  • Tools for Automation
  • Click CLI Framework
  • Software development

Course content

3 sections23 lectures2h 59m total length
  • Introduction3:10

    Explore the click library, a Python package for building beautiful command line interfaces with a composable design and minimal code, from basic programs to seo-like automation tasks.

  • About Instructor2:11

    Adam Mcquiston, instructor for Building Python CLI apps with Click, brings a polyglot software engineering background across full stack, devops, and cloud, with seven AWS certifications and tech writing.

  • Course Overview10:09

    learn to build Python CLI apps with the click framework, from setup and installation to creating commands, options, prompts, colors, and subcommands, including file handling, progress bars, and download tasks.

Requirements

  • Basic understanding of Python
  • Familiarity with CLI Applications

Description

This is a practical, example heavy, course on building Python based Command Line Interface (CLI) applications and utility programs. Such CLI programs are powerful tools used to automate a wide range of simple to complex tasks which frees users from repetitive mundane activities ultimately increasing productivity along with quality of work. The Click library featured in this course empowers Python software developers with the ability to build rich CLI tools while requiring significantly less code than what’s possible with the regular Python standard library or other programming languages.

After participating in this course viewers should have a strong grasp of building CLI programs that work with all common argument and parameter options types like string, numbers, flags and I/O sources. Students will also learn to collect user input in the form of plain text and hidden (aka masked) input prompts, compose nested programs with sub commands. To facilitate high quality software development practices emphasis is also placed on how to write automated tests with your CLI applications harnessing some very useful features of the Click library that simplify writing tests.

Below is a list of the topics that are covered in this course.

  • Setup and Install of Click CLI Applications

  • Single and Multiple Argument Programs

  • Using Options to Control CLI Program Behavior

  • Collecting User Input in the form of Prompts

  • Composing Nested Programs with Subcommands

  • Passing Shared Context Between Nested Commands

  • Implementing Progress Bars to Convey Work Completed

  • Styling CLI Program Output with Colored Text

  • Testing CLI Programs to Ensure Quality


Who this course is for:

  • Software developers and Dev Ops professions with a desire to build CLI applications