~/talk

Selecting tools to fight complexity in large Python projects

slides:none on file

Claim: refactoring or moving to microservices is often infeasible for 100k+ line Python monoliths, so extract runnable entry points as standalone units. A small tool uses AST-based dependency extractor to trace imports from one entry script, copy ~2,000 analyzed files and their deps into a package, and build a container per entry point. On six large projects it works but fails for dynamic importlib/C extensions and undeclared or unversioned requirements. Deleting 7,000 type hints and running unused-import removal yields ~25% fewer lines and ~15% smaller packages via de-hinting to reduce imports and split entry-point into standalone containers.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:24Complexity in mature projects
  3. 5:44Why refactoring fails
  4. 12:16Modular monolith solution
  5. 15:14Dependency extractor demo
  6. 22:30Complexity metrics and analysis
  7. 25:49Type hints and imports impact
  8. 31:58Q&A and closing
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.