Loading video player…

Building a Python Command-Line To-Do App With Typer (Overview)

Building an application to manage your to-do list can be an interesting project when you’re learning a new programming language or trying to take your skills to the next level. In this video course, you’ll build a functional to-do application for the command line using Python and Typer, which is a relatively young library for creating powerful command-line interface (CLI) applications in almost no time.

With a project like this, you’ll apply a wide set of core programming skills while building a real-world application with real features and requirements.

In this video course, you’ll learn how to:

  • Build a functional to-do application with a Typer CLI in Python
  • Use Typer to add commands, arguments, and options to your to-do app
  • Test your Python to-do application with Typer’s CliRunner and pytest
Download

Course Slides (.pdf)

7.5 MB
Download

Sample Code (.zip)

19.9 KB

00:00 Building a Command-line To-do Application With Python and Typer. I’m Emmanuel, and I’ll be your guide through this journey of creating an awesome Python command-line application with Typer.

00:11 Whether you’re looking for another cool Python project to add to your portfolio or resume, or you want to enhance your practical Python skills for real-world problem solving, this hands-on learning course is for you.

00:24 Together you and I will explore the Typer library and with it build a cool, fully functional command-line application for managing to-do items.

00:33 Here is a peek at what you’ll be building by the end of this course: A ready-to-use, fully functional to-do command line application. After items have been added to the database, you then have the ability to list and view the to-do items.

00:48 With to-do items stored in the database, you have the ability to update the status of a to-do item using the complete command and the to-do item’s ID.

01:03 Some key things you can expect to get by the end of this course include understanding how command-line applications work,

01:09 building fully functional to-do command line application with Typer, using Typer to add several commands, arguments and options to your command-line application, handling and processing JSON files using Python’s json module, and adding and reading configuration settings using Python’s configparser module.

01:32 To get the most out of this course, you’ll need to have a general understanding of certain Python concepts, and up next, I’ll show you some of those key concepts and where to get a refresher on them or an introduction if you need one.

Become a Member to join the conversation.