~/talk

Command line programs for busy developers

Talkat PyCon Australia 2014 · 2014-08-01..08-05· [developer-experience, python]
links:none on file
slides:none on file

Survey compares getopt optparse argparse and PyPI tools like Click, Cliff, Docopt and shows a concrete Twitter client example with three subcommands (retweets mentions lists) accepting API tokens via flags or environment variables. Introduces Begins as a decorator-based layer over argparse that inspects function signatures to auto-generate options, defaults, boolean flags and type casting, adds logging and entry-point plugin loading, and runs in production today but remains beta with some missing explicit config-file and Windows test cases.

AI-written summary · about

  1. 0:00Start
  2. 2:06Review Process
  3. 2:29Review Criteria
  4. 3:08Review Code
  5. 3:54getopt
  6. 4:28optparse
  7. 5:50argparse
  8. 6:36cliff
  9. 8:23docopt
  10. 9:53click
  11. 12:16Default Values
  12. 12:50Annotations for help
  13. 13:21Boolean Flags
  14. 13:43Sub-Commands
  15. 14:38Entry Points
  16. 15:06Multiple Commands
  17. 15:45Environment Variables
  18. 16:31Configuration Files
  19. 17:45Automatic Type Casting
  20. 18:31Logging
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.