Python Developer Environment
There are a thousand possible approaches to a good developer environment, this is an iditial approach to get started with Python if you don’t yet know what you like.
Editor and plugins
Visual Studio Code (or VSCode) is a popular choice and has lots of support. If you care about these things, VSCodium provides an open-source variant of VS Code.
Check Python in Visual Studio Code for a guide to install Python and the proper extension.
Linting
Having a linter and autoformatter is a great way to make sure your code is consistent. I recommend Black
(make sure to set python.formatting.provider to black, see official documentation
).
Dependency management
Python dependency management (and publishing) has been a hot mess for a long time, Poetry makes it as easy as other modern languages.
Edit this page on GitHub