DEV Community

Discussion on: What do you use for Python development?

Collapse
 
zchtodd profile image
zchtodd • Edited

Hey, great question. Here are my favorites:

  • I use a program called black for my formatting
  • There are quite a few Python linters, but the flake8 linter is my favorite.
  • I'm a Vim diehard.
  • Type checking has become more of a thing with Python in the past few years, although I haven't jumped into that yet. Type hints are an official part of the language now, but they are mostly used to help IDEs, and can't cause compilation issues. There is an exciting new project called mypy that aims to add type checking for Python.
  • Pip is really the mainstream option for Python package management. I would recommend something like pyenv, however, to keep your Python installations separated by project.
  • I use the standard Python interpreter (CPython), although there are a lot of them out there with different purposes. I have used pypy in the past, which is a very exciting project that adds a Just In Time compiler to Python.