~/talk

Python Packaging Demystified

Talkat PyCon US 2021 · 2021-05-14..05-15· [python, developer-experience]
slides:none on file

Session shows how packaging actually works: pyproject.toml and PEP 517 for isolated builds, concrete use of flit, setuptools and pip as front- and back-ends, and virtualenv for isolated installs. It builds sdist then wheel, covers C-extension compilation and a measured speedup (about 105ms → 70ms), demonstrates uploading with twine, and creates runnable bundles with shiv pex pyinstaller demos. It inspects import machinery and sys.path, explains build backend vs front-end, and includes live terminal exercises and hands-on packaging tasks.

AI-written summary · about

  1. 0:00Introduction
  2. 3:51Packaging concepts
  3. 15:48Libraries vs applications
  4. 19:52Virtual environments
  5. 34:09The import system
  6. 48:52Package installation
  7. 57:33Source vs wheel
  8. 1:10:34Building packages
  9. 1:23:36Hands-on packaging
  10. 1:36:14C extensions
  11. 1:46:47Uploading and distributing
  12. 1:59:23Package discovery
  13. 2:03:21Testing libraries
  14. 2:10:08Building applications
  15. 2:18:48Zip applications
  16. 2:26:46PyInstaller
  17. 2:30:53Advanced packaging
~/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.