Choosing which tools to use in your Python development environment might be the toughest part of Python programming. The Python tooling ecosystem cont

My Python Development Environment in 2021 | LAAC Technology

submited by
Style Pass
2021-07-09 18:00:07

Choosing which tools to use in your Python development environment might be the toughest part of Python programming. The Python tooling ecosystem continues to evolve rapidly. I’ll share what I need my tools to do, what tools are a part of my development environment, and why I use each one.

I develop web applications as my day job, specifically a Django application. I also maintain some open source packages and want to do more open source in the future. I use Ubuntu for my development operating system and avoid the system’s Python interpreter like the plague. In my younger years, I bricked my computer messing with the system interpreter. I love easy-to-use tools that improve code quality such as Flake8 and Black and want them to be seamlessly integrated into my development flow.

Asdf is a CLI tool that can manage multiple language runtime versions on a per-project basis. Initially, I just used Pyenv to manage my Python versions, but on some projects, I need to manage my Node.js version as well. I started using Nvm until a colleague showed me Asdf. The naming isn’t best, but naming things is hard. Other than the name, the tool rocks and having a single tool to manage all of my runtime versions simplifies my development environment. On top of that, Asdf’s Python plugin uses Pyenv to install Python versions and integrates Pyenv’s config formats which eased my transition.

Leave a Comment