~/talk

The Clean Architecture in Python

Talkat PyOhio 2014 · 2014-07-26..07-27· [software-architecture]
links:none on file
slides:none on file

Argues that applying Clean Architecture to Python means keeping IO at the top level and rescuing business logic into a pure functional core so functions take and return plain data. Demonstrates with a DuckDuckGo HTTP lookup using requests, contrasts dependency injection vs. mock.patch (mock now in the stdlib), shows 100% testable small functions, and cites two real projects—Skyfield (astronomy library) and Lucha (PDF tax filler)—as concrete, working examples of this pattern.

AI-written summary · about

  1. 0:00Start
  2. 3:52a description
  3. 5:09Hiding complexity
  4. 12:06Our Architecture
  5. 13:03Testing
  6. 15:38Problems
  7. 20:19A symptom of coupling
  8. 34:35Knuth - Literate programming
  9. 43:09Python 2.4 (November 2004)
  10. 48:24Let's return to Wheeler
~/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.