~/talk

How do imports work, and why should I care? (and why should I use a tool like PDM?)

Talkat PyCon SK 2024 · 2024-03-15..03-17· [python, developer-experience]
slides:none on file

Explains how Python resolves imports using the import machinery (finders and loaders), where packages live (site‑packages, venvs, pyenv), and what installers do when installing into those paths; demonstrates that PDM manages virtual environments, creates a lockfile, and runs PDM ad instead of pip while adhering to standards; warns about real PyPI typosquat malware (examples that exfiltrate secrets) and recommends using scanners like safety to guard against supply‑chain attacks when using PDM.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:37Why imports matter in Python
  3. 11:43Python package locations and virtual environments
  4. 16:38How Python's import machinery works
  5. 20:56Dependency management tools like PDM
  6. 24:30Security risks in Python packages
  7. 28:44Summary and tool recommendations
  8. 29:48Q&A session begins
~/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.