~/talk

The Hitchhiker's Guide to CLIs in Python

Talkat PyConline AU 2020 · 2020-09-04..09-06· [developer-experience, python]
links:none on file
slides:none on file

Covers terminal origins (teletype/Model 33 to 1970s video terminals) and concrete termios tricks like turn off icannon to receive characters immediately and toggling onlcr/echo to control carriage returns and password masking. Shows real Python code: sys/argparse, docopt, and Click, implements working examples smallpip/smallgit with progress bars, color, editor prompts, tests with Click runner, and packaging plus upload to PyPI via setup.py and twine.

AI-written summary · about

  1. 0:00Start
  2. 0:30In the beginning ...
  3. 0:43Teletypewriter
  4. 0:55Computers
  5. 1:13Teletype Model 33
  6. 5:43Signals
  7. 6:00Control characters
  8. 6:34stdout and stderr
  9. 7:08Comand-Line interfaces
  10. 7:47Arguments
  11. 9:06Standards
  12. 9:22POSIX
  13. 10:17Standard Library
  14. 11:10PEP 389
  15. 12:36Python Package Index
  16. 15:50Progress bars
  17. 16:28Application folders
  18. 17:51Colored text
  19. 18:42Launching editors
  20. 20:33Packaging the CLI
  21. 21:04User experience
~/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.