~/talk

Bootstrapping your Local Python Environment

Talkat DjangoCon US 2021 · 2021-10-22..10-23· [developer-experience]
slides:none on file

Concrete setup and reproducibility rules: avoid using the system Python and no sudo installs, manage interpreters with pyenv + venv/virtualenv, use pipx for isolated CLI tools, generate hashed requirements with pip-tools, and build images with multi‑stage Docker so the same hashed dependencies install inside the container. Demo shows distinct virtualenvs with different requests versions and a Docker build that runs Python and imports requests successfully, giving repeatable, isolated environments.

AI-written summary · about

  1. 0:00Python environment setup
  2. 1:14Why local Python matters
  3. 4:05Python setup Zen rules
  4. 7:17Pyenv for versioning
  5. 8:19Live Pyenv demo
  6. 13:59Virtual environments isolation
  7. 15:21Built-in vs Pyenv virtualenvs
  8. 17:07Pipx for CLI tools
  9. 19:56Avoid system Python
  10. 21:20Python tools comparison
  11. 24:07Pinning dependencies
  12. 28:03Docker isolation
  13. 35:29Repeatable Python setups
  14. 36:30Q&A
~/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.