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 М.
Build AWESOME CLIs With Click in Python
25:12
ArjanCodes
Рет қаралды 48 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Are CLI Frameworks Worth it? Trying TYPER
11:23
John Watson Rooney
Рет қаралды 10 М.
Pathlib makes file management in Python a BREEZE
15:53
Carberra
Рет қаралды 4,8 М.
Chess App - Train you Programming Logic #01
40:30
Frontend Road
Рет қаралды 888
Creating a simple CLI with Python Click
13:34
FancyGUI
Рет қаралды 23 М.
Python Click Master Class
19:25
Jasper Zanjani
Рет қаралды 23 М.
SAVE TIME and reduce boilerplate with dataclasses
18:58
Carberra
Рет қаралды 3,6 М.
Metaclasses in 17 minutes
17:29
Carberra
Рет қаралды 5 М.
Cython makes Python INSANELY FAST
19:08
Carberra
Рет қаралды 36 М.
Python's magic methods
19:30
Carberra
Рет қаралды 12 М.