~/talk

How to give your Python code to someone else

Talkat PyCon AU 2026 · 2026-08-26..08-30· [developer-experience]
slides:none on file

Concrete options and tradeoffs are described: use PEP 723 inline script metadata or project-level pyproject.toml (PEP 621) so pip and runners know Python version and deps; use UV run or pip to create/activate venvs and install entry points; or bundle into standalone installers with Briefcase, which produces MSI, DMG, RPM/deb/arch, flatpak or appimage and iOS/Android bundles, uses Docker for cross‑Linux builds, and requires platform‑specific hosts for macOS and Windows signing.

AI-written summary · about

  1. 0:00Introduction
  2. 1:13Packaging Python challenges
  3. 2:39Sharing a single script
  4. 4:04Script metadata with PEP 723
  5. 5:50Refactoring into project structure
  6. 8:17Project metadata with PEP 621
  7. 10:02Entry points for CLI tools
  8. 12:10Python interpreter dependency
  9. 16:19Single-file executables limits
  10. 19:49Platform-specific formats
  11. 22:16Briefcase for packaging
  12. 26:50Self-contained installers benefits
  13. 28:34Choosing distribution method
~/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.