Create a Task Tracker App for the Terminal with Python (Rich, Typer, Sqlite3)

preview_player
Показать описание
In this Python Tutorial we learn how to build a terminal application (CLI app) to manage our tasks and todos. We use Typer for building the CLI app, Rich for a colorized terminal output, and SQLite for the database.

Get my Free NumPy Handbook:

📓 ML Notebooks available on Patreon:

If you enjoyed this video, please subscribe to the channel:

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

#Python

Todo App, Task Manager App, CLI App, Terminal Program

Timeline:
00:00 - Introduction
01:15 - CLI Typer
08:08 - Model class
09:50 - Database / SQLite3
17:16 - Put all together

----------------------------------------------------------------------------------------------------------
* This is an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏
Рекомендации по теме
Комментарии
Автор

Great starter project. I was able to follow along, transcribing the code as I paused, and got everything working!

DaveHoran
Автор

I have an idea for you... You're pretty damn good at explaining python. Since this library is so packed with features... You should do a series on this particular library. You could easily get a bunch of videos out of this library alone. Just a thought. Keep the videos comin. =)

Mdroudian
Автор

Your tutorial is amazing bro. Good video quality, good audio quality, good teaching. Keep going buddy, congrats! =D

hugoalmeida
Автор

Wow! It needs a couple more options to become a functional desktop app though. I would've implemented some kind of calendar representation of the tasks, if the task should be repeated (optional) and the interface that allows for user's own categories. You may also add an optional parameter 'importance' to a task. Setting goals would be nice as well :)

I can imagine the new commands to look like these:
1) calendar week (shows current week with all assigned tasks)
calendar month
2) category add Work
category delete YouTube
3) add 'Buy a birthday present for Ann' 'Personal' yearly ||| (the ||| indicates high importance)
4) goal 'Invest $5k' by 15-02-2022 ||

airatvaliullin
Автор

Frohes Neues, Patrick! Great tutorial! Thank you!

CodingIsFun
Автор

Wow!. A good project to start the year. Thank you very much.

anurasenarathna
Автор

I'm still learning logic and algorithms but this is nice. Very nice.

maurolimaok
Автор

A really great idea for a small project. Would totally try it.

vikranttyagiRN
Автор

Do we need to have internet ON before installing the dependencies. Great tutorials man!

keemgraphics
Автор

Sir please make a detailed video on regression-based conditional generative adversarial networks with Wasserstein loss function and gradient penalty.

AKASHKUMAR-jzyv
Автор

Hello, thank you for the amazing tutorial.
I have a detail question at 15.00, when you define change_position function, with the bool parameter commit which is default on True.
You call this function inside the context manager "with conn" at line 50, and you said earlier in the video that the commit function on this connection is always called if we are inside this context manager.

How it is possible to avoid that call if you are imposing the (negative) commit with the boolean parameter inside the function when you pass False to it?

Thank you in advance and sorry for the slightlycomplicated question.

giorgioripani
Автор

Can you tell me what's your theme for terminal and Vs Code plsss?

hariharanrd
Автор

Hi, what's your autocomplete functionality in your terminal ? Is it a custom shell like fish ? Or more a zsh plugin ?

remypoirier
Автор

Could we not have used the id from the table as the position instead of keeping track of it on our own?

pratikchakravorty
Автор

Awesome tutorial! such a great way to kickstart the new year. Please can you give more insight on the delete command? I would really appreciate it. Thank you.\

real_taiwopeter
Автор

awesome!! is it possible to filter by category?

benxneo
Автор

how do i test multiple functions using typer please help

thatolebethe
Автор

Thank you for the lesson! I can't find my error. the "complete 2" command does not show the table. even though the show() function is specified

Zeksait
Автор

Nice tutorial at the begining 2022, I was interested how you show the codes per lines in vscode, it seem that you did not write/type the codes word by word, how did you show them instanly ?

ibanguniverse
Автор

9:21 Is it necessary to specify these if statements?
I thought optional attributes automatically take given value, or revert to predefined default if not given. I'm a beginner in python, probably I'm missing something.

StarFury