How do you set up your Python development environment?
Mine looks like this: https://gist.github.com/cedricbonhomme/409c044d2cba8f02b545da39cd17b09b
17 points by cedric 1 year, 1 month ago | 13 comments


 
2 points by someusr2 1 year, 1 month ago | discuss | on: How do you set up your Python development environment?
This site runs on Elastic Beanstalk.
 
3 points by ehmatthes 1 year, 1 month ago | discuss | on: How do you set up your Python development environment?
> # Installation of a decent editor, emacs That's a great way to start. :)
 
3 points by kill_all_humans 1 year, 1 month ago | 3 comments | on: How do you set up your Python development environment?
vim --> latest-python --> python invoke --> virtualenv --> pytest --> black
 
1 point by intrepidhero 1 year, 1 month ago | 2 comments | parent | on: How do you set up your Python development environment?
I'll second this. But I'm new to using black. When and how do you run it?
 
2 points by kill_all_humans 1 year, 1 month ago | discuss | parent | on: How do you set up your Python development environment?
I usually run it before pushing to the remote branch and simply comment "Black". I've been toying with the idea of adding it as a git hook, but haven't committed to that idea yet.
 
3 points by vibora 1 year, 1 month ago | discuss | parent | on: How do you set up your Python development environment?
You can setup your editor to run it after a file save.
 
3 points by jonbarker 1 year, 1 month ago | discuss | on: How do you set up your Python development environment?
Never heard of pipx, nice!
 
2 points by liam 1 year, 1 month ago | 1 comment | on: How do you set up your Python development environment?
pipenv, but considering moving to nix (nix-shell+direnv).
 
1 point by cedric 1 year, 1 month ago | discuss | parent | on: How do you set up your Python development environment?
I also considered using nix. But I never really tried.
 
2 points by ish 1 year, 1 month ago | 1 comment | on: How do you set up your Python development environment?
I've kept my dotfiles in a git repo for a while, but I've only recently automated the installation of the rest of my dev environment with make: https://github.com/sethwoodworth/devenv-setup I have my ~/.config dir in another repo, and my (neo)vim config in a third. I use pyenv to install and select python versions, pipsi for isolated executable python packages like mycli, and I've been trying to migrate my projects to poetry after having a bad time with pipenv last year.
 
1 point by rjmorris 1 year, 1 month ago | discuss | parent | on: How do you set up your Python development environment?
FYI, pipsi is unmaintained and recommends using pipx instead.
 
3 points by rdrey 1 year, 1 month ago | discuss | on: How do you set up your Python development environment?
This is some of mine. Haven't written about everything yet :P we also use both yapf and black, for example. https://rainer.codes/tech/python
 
2 points by vibora 1 year, 1 month ago | discuss | on: How do you set up your Python development environment?
I started using poetry and it feels pretty great. Haven't gotten any gotchas so far.