Talk - Calvin Hendryx-Parker: Bootstrapping Your Local Python Environment

Conference: PyCon US 2022

Year: 2022

There are simple, yet crucial, reminders that can differentiate an expert developer from a hobbyist. In this talk and live demo, developers will learn: - the importance of abiding by the Zen of Python; - where (and how) to install Python on your machine; - three rules to follow when installing Python; - proper version management with pyenv; - which Python add-ons (e.g.: virtualenv, pipx, piptools, Docker) can be used to make environments both repeatable and simple. Resources and Links - ActiveState: https://www.activestate.com/products/python/ - asdf: https://github.com/danhper/asdf-python - Anaconda: https://www.anaconda.com/products/individual - Brew: https://brew.sh/ - Chocolatey: https://chocolatey.org/ - Docker’s Python integration: https://hub.docker.com/_/python/ - PDM: https://pypi.org/project/pdm/ - pyenv setup: https://github.com/pyenv/pyenv#installation - pyenv setup for Windows: https://pyenv-win.github.io/pyenv-win/ - pipenv versions: https://pipenv.pypa.io/en/latest/ - piptools: https://github.com/jazzband/pip-tools/#readme - pipx setup: https://pypi.org/project/pipx/ - pipx: https://pypa.github.io/pipx/ - poetry: https://python-poetry.org/ - pyproject.toml: https://www.python.org/dev/peps/pep-0621/ - Python.org: https://python.org/ - virtualenv: https://virtualenv.pypa.io/en/latest/ - virtualenvwrapper: https://virtualenvwrapper.readthedocs.io/en/latest/ - Zen of Python: https://www.python.org/dev/peps/pep-0020/