Python NASA CLI App #1 - Introduction to Typer

preview_player
Показать описание
In this video, we'll introduce the Typer package in Python, and build two simple commands that exist within a single Typer CLI app.

This will introduce the viewer to basic concepts in Typer, before we extend our command-line application to fetch images from NASA's astronomy picture of the day API.

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro and Setup
01:36 Typer Echo Command
02:33 Day-of-Week Command
04:44 Adding Default Date Argument

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:

▶️ Full Playlist:

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:

#typer #python #cli
Рекомендации по теме
Комментарии
Автор

Typer looks great!
Thanks for this introduction 🙏😀

silkogelman
Автор

Hey, I just want to say this is the best tutorial I found for typer. I really like your teaching method in explaining and showing your code/structure. There are plenty of Click tutorials, but not too many for Typer, even though Typer is built on top of Click. I feel like Typer adds much more intuitiveness. Anyways, thanks for this tutorial keep it up!

kerwbstomp
Автор

Greetings. I am a baker. I'm trying to make an app to track the bread I make throughout the day at work. I have the program pictured in my head as a table where each row constantly updates in real time so I can see how long each batch of bread has been resting. Perhaps I can use the progress bar capabilities of the Rich library and I can use Typer to add stuff to the program throughout the day. Is this possible?

anzwertree