New on our platform: Typer learning path

By on 7 November 2022

It’s finally here … our new Typer learning path!

Where? On our CodeChalleng.es platform, check it out here:

typer learning path

Typer is an amazing library for building Command Line Interfaces (CLIs). Leveraging Python type hints you can build great command line apps with relatively little code.

In this learning path we’ll have you practice the main features of the library through 10 Bite exercises:

  • 1.1 – Transform a Script Into a Command Line Interface (CLI)
  • 1.2 – Create Your First Typer Command Line Interface (CLI) Application
  • 1.3 – Implement your First Subcommands and Command Groups
  • 1.4 – Add a progress bar to Your Command Line Interface (CLI)
  • 2.1 – When to Use Command Line Option (CLI) Options and When CLI Arguments?
  • 2.2 – Using Typer Callbacks to Create Command Line Interface (CLI) Parameters for the Main CLI Application
  • 2.3 – Implementation of a Simple Typer Test
  • 2.4 – Rich Excursion – Create Beautiful Tables
  • 2.5 – Add a Password Prompt to Your Command Line Interface (CLI)
  • 3.1 – Implementation of a More Sophisticated Typer Tests

These exercises (and our practical platform approach) will have you learn the Typer framework inside out. The exercises are of increasing complexity and you’re not allowed to start the next one until you’ve solved the current one.

Two more cool features: you will also learn some features of the rich library, and two Bites are dedicated to testing Typer / command line apps.

Big shout out and thanks to Robin Beer for putting together this exciting learning path.

We hope your command line apps will not look the same again and you won’t have to look back at harder (less intuitive) libraries again to build enticing command line apps.

Enjoy and get coding!

Want a career as a Python Developer but not sure where to start?