~/talk

Bootstrapping Your Local Python Environment

Talkat PyCon US 2022 · 2022-04-27..05-03· [developer-experience, python]
slides:none on file

Clear rules: no sudo, use explicit per-project interpreters, and prefer repeatable installs. Demonstrations show installing multiple Python versions with pyenv, switching globals and locals (examples: 3.10.3 and 3.9.11), creating isolated virtualenvs and installing packages there, and using pipx for command-line tools. Dependency workflows use piptools to compile locked requirements and Docker to freeze builds. The live demo switches versions and sandboxes successfully, with only minor demo friction.

AI-written summary · about

  1. 0:00Intro
  2. 0:24LET'S SET OUR INTENTION
  3. 2:41PYTHON LIVES IN MANY PLACES
  4. 4:26STAY ZEN
  5. 6:44DO NOT USE THE SYSTEM PYTHON
  6. 7:43PYENV Change the global Python version on a per user basis Per project Python versions Override the Python version with an environment variable Search commands from multiple versions of Python at a time
  7. 18:52VIRTUAL ENVIRONMENTS ARE INCLUDED IF YOU HAVE SIMPLE NEEDS, THIS IS FOR YOU!
  8. 22:19WHAT ABOUT THE "USER SCHEME"?
  9. 23:41BUT WHAT ABOUT... Anaconda Python and Conda ActiveState Python
  10. 25:27BUT I WANT REPEATABILITY AND SIMPLICITY... Simple is better the complex
~/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.