~/talk

The Modern Command-Line Tool Stack: Pipenv, Click, and Friends

Talkat PyOhio 2018 · 2018-07-28..07-29· [developer-experience, python]
slides:none on file

A small command-line music tool called feta play downloads and queues YouTube tracks from a Mastodon timeline using youtube-dl and it works for non‑Python users after a one‑line setup. The demo shows Pipenv creates a reproducible virtualenv and Pipfile.lock and uses editable installs so a console script (console_scripts) runs everywhere. The CLI uses Click for subcommands and decorators, directories come from appdirs, secrets live in the OS keyring, and contributors can reproduce the exact dev environment.

AI-written summary · about

  1. 0:00Introduction to project
  2. 1:23Project architecture
  3. 2:57Dependency management with Pipenv
  4. 5:35Pipenv workflow
  5. 7:51Sharing and deploying
  6. 11:01Identifying project needs
  7. 12:37Building the CLI with Click
  8. 17:25Structuring Python packages
  9. 21:13Managing system directories
  10. 23:28Securing API secrets
  11. 26:41Conclusion and summary
~/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.