3 ms·
I recently switched to Click from argparse and like it better so far.
by barbazoo 6y ago
I recently switched to Click from argparse and like it better so far.
- verdverm 6y agoA lot of these are multi use local run, in CI, and at onsite w/o internet, so we try hard to avoid dependencies and keep them small and pointed. Once we need deps we need a more complicated setup, so Docker or Go usually prevail
- nonameiguess 6y agoYou can always use something like PyInstaller or freeze to produce a single-file executable that bundles all of its dependencies, though at that point you may as well just use Go which does this more naturally. Single-file Python executables tend to be huge and slow to start up, not a big deal for non-interactive server processes, but miserable for CLIs.