~/talk

Plug life into your codebase: Making established Python codebase pluggable

Talkat PyCon US 2023 · 2023-04-19..04-27· [developer-experience]
slides:none on file

Introduces the pluggy Python framework and shows how to use it to make an existing codebase plugin-friendly. Uses the conda project as a concrete, real-world example of adding a plugin API to a ten-year-old codebase to extend and rejuvenate it.

AI-written summary · about

  1. 0:00Start
  2. 5:06What are plugins? (recap)
  3. 5:42Plugin examples
  4. 6:00Why plugins?
  5. 6:41Plugin fundamentals
  6. 7:23Introducing: pluggy!
  7. 8:04How to use pluggy
  8. 8:44Why pluggy?
  9. 13:34A real-world example: Conda
  10. 15:45Conda's plugin project structure
  11. 17:03conda/plugins/hookspec.py
  12. 18:50ascii_graph/ascii_graph.py
  13. 20:51Plugin Installation (in development mode)
  14. 21:36Invoking the subcommand plugin!
  15. 22:07Different plugins, same plugin API
  16. 22:57Plugin use cases
  17. 24:33Subcommand Tutorial
  18. 24:56Presentation Materials
~/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.