Creating CLIs in Python with Click

  Рет қаралды 4,165

Carberra

Carberra

Күн бұрын

Пікірлер: 12
@Carberra
@Carberra Жыл бұрын
Just wanted to note something I forgot to mention in the video: if you want to set a help message for any arguments or options, you can pass `help="message"`! Wasn't worth re-recording the whole thing for, but thought I'd mention it (:
@awesomegamer31
@awesomegamer31 11 ай бұрын
This is a great video, thank you. I think I will definitely use this over argparse
@RuslanKovtun
@RuslanKovtun Жыл бұрын
I had terrible time with click's context: invoking subcommands. Click promises to handle arguments validation but doesn't do so for subcommand invocation with leads to reimplementation of entire validation logic and question "why would you use click in this case?". Since than I'm using argparse every single time, because you should type just a bit more but it is way more maintainable code.
@eduferreyraok
@eduferreyraok 2 ай бұрын
Now i know how to create a command line utility jaja
@auroragb
@auroragb Жыл бұрын
Really missing comparison to the built in argparse library and why use click over argparse
@willemvdk4886
@willemvdk4886 Жыл бұрын
Seems like a great library! Very handy. I don't like the decorator stacking, though. It tickles my OCD, probably. One decorator is fine, two is pushing it, three or more is just foul.
@birdbeakbeardneck3617
@birdbeakbeardneck3617 Жыл бұрын
wow, i wasted many hours, thx for the tool👌👌
@Carberra
@Carberra Жыл бұрын
Yeah I tried to do some crazy stuff with argparse once and just using click is so much easier lmao
@someabsolutelyrandomstuff9440
@someabsolutelyrandomstuff9440 Жыл бұрын
🤔🤔🤔
Functools is one of the MOST USEFUL Python modules
13:37
Carberra
Рет қаралды 35 М.
How is THIS a thing in Python?!
9:54
Carberra
Рет қаралды 8 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Creating a simple CLI with Python Click
13:34
FancyGUI
Рет қаралды 23 М.
Build AWESOME CLIs With Click in Python
25:12
ArjanCodes
Рет қаралды 48 М.
Are CLI Frameworks Worth it? Trying TYPER
11:23
John Watson Rooney
Рет қаралды 10 М.
Professional CLI Applications with Click
24:02
NeuralNine
Рет қаралды 61 М.
Modern Graphical User Interfaces in Python
11:12
NeuralNine
Рет қаралды 1,6 МЛН
Pathlib makes file management in Python a BREEZE
15:53
Carberra
Рет қаралды 4,8 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 337 М.
Python Click Master Class
19:25
Jasper Zanjani
Рет қаралды 23 М.
Каха и дочка
00:28
К-Media
Рет қаралды 3,4 МЛН