Ask HN: Python developers at big companies what is your setup?

13 ravshan 24 7/22/2025, 2:49:34 PM
I am trying to transition from .net to python, but finding conflicting information online about what people Actually Use.

People recommend their favorite tool, but when you look into it, it is barely supported or already abandoned.

I will focus on working with LLMs.

Edit: By tools I meant everything related to python development starting from python version, package manager, environment manager, IDE and ending with deployment tools

Comments (24)

viraptor · 1h ago
What people use is going to be very environment biased. For example scientific research uses conda a lot, but I've rarely seen it used by code devs. People using only python will often have more system wide setup with tools and linters than those mixing different projects. Also you'll see some deprecated in tool use in projects which are older and not worth changing without a good reason. Etc.

With that out of the way: mise for managing versions of all the runtimes (asdf is fine too), uv for packages (previously poetry which is ok), mypy type checking for things I make. Otherwise I switch between projects a lot so just use whatever the projects use by default.

Deployment tools aren't really language specific (when they are they're rarely good). The editing, it's just Cursor, although I did like the jetbrains IDE previously.

But overall - just give things a go. It's usually quite easy to swap those tools as needed.

papanoah · 1h ago
Not a big company, however:

- uv (went from pipenv to poetry to uv), which was the right decision imo.

- ruff (replaced black)

- PyCharm, but some people use vscode or neovim.

- mypy for type checking, which I am not 100% happy with. One experienced developer swears by mypy, thats the reason we haven't explored alternatives.

- 'just' as task runner

pdzly · 1h ago
uv is just such a fast and reliable package manager. It implements the "lock" problem python has, with the uv.lock
Tpt · 5h ago
UV for packaging and dependency management, Ruff for linting, Mypy for type checking (will be likely replaced by Ty when ready) and whatever editor people like (PyCharm, VSCode, Helix...)
ehutch79 · 4h ago
UV has become my goto for package/venv management. It can work as a close to dropin replacement for pip.

Ruff is my goto for linting and formatting. replacing black, isort, flake8, etc.

There's lsps for both, so you can use them in vscode or wherever you're doing your editing.

sjducb · 3h ago
VS Code and local Python virtual environments.

Packages managed with pip and versions pinned with pipcompile. One ML production environment forces us to use conda we inherit from the pip environment and try to have as much done by pip as possible.

Formatted with black and flake8

Unit tests with unittest

Azure Dev Ops for running tests, security screening, and CI

The happy path for deployment is build docker images in AzureDevOps unfortunately we can’t do that for good reasons

I’m not a fan of typed Python, it doesn’t work as smoothly as you expect if you’re coming from a statically typed language.

Be careful enforcing pylint quality. It can be a great way to kill your teams velocity.

I’m describing a boring stack that works. All of these tools are 5+ years old and very well supported.

eljey · 5h ago
At EntwicklerHeld we used a setup i was happy with:

- poetry for dependency management

- black for formatting

- flake for linting (you can use ruff now)

- PyCharm as IDE

- pyenv for python version management -> but I switched to devbox a year ago and never go back

- docker as end artifact

- deployed to kubernetes (at the end k3s) with ansible and terraform

neilsimp1 · 3h ago
I can't answer OP as I only write Python for personal use, not for a "big company".

That said, Neovim + basedpyright + pipenv works well for me.

A lot of people here are using uv and pyenv. Can anyone hint at why I might want to switch?

kermatt · 4h ago
The "basics":

  Vim + PythonMode
  `python -m venv` for local environment separation
  Git + https://github.com/dandavison/delta for change management
When I need a debugger or a Git GUI, VScode, but Zed is becoming more and more interesting. These support LLM interaction, but things like Claude Code fit better with the above list.
JonathanRaines · 1h ago
Zed is worth a look for your IDe and plays nicely with LLMs
kingkongjaffa · 4h ago
Can you use vscode devcontainers?

Can you use a dev container with a dockerfile and use UV for package management, ruff for formatting and lint, mypy for type hint checking, and pytest.

And put all of that on your CI as well so if they fail you don’t merge failing code.

al_borland · 6h ago
I have been forced into VS Code due to a heavy handed push to use more AI stuff and Copilot in VS Code being the blessed way to do that.
msgodel · 1h ago
I haven't tried it but I'd assume copilot just exposes an OpenAI compatible API. The Llama.cpp plugin for neovim should work with that OOTB.

I only use it for local models and don't have any hosted ones that I'm willing to pay for so YMMV.

lordkrandel · 5h ago
I'm sorry, can't suggest much, I just use `Neovim` and `ripgrep` search. No AI, no autocompletion, no fancy plugins. At the moment I'm working for one of the biggest Python codebases: Odoo - a general purpose ERP from Belgium.
cpach · 5h ago
What do you mean by “tool”? Do you mean IDE/editor, or something else?
ravshan · 5h ago
By that I meant everything related to python development starting from python version, package manager, environment manager, IDE and ending with deployment tools
cwmoore · 5h ago
This is a great question.
cwmoore · 5h ago
Sorry "working with LLMs" is not enough context to compare .NET and Python environments without resorting to LLMs. People actually use for what?
ravshan · 5h ago
By that I meant everything related to python development starting from python version, package manager, environment manager, IDE and ending with deployment tools
dapperdrake · 6h ago
Whatever is sanctioned by the IT department and has been hammered into the permission system. Red tape all around.

And when a new enterprise tool is purchased it may or may not change.

(I only believed it once it was lived through.)

ravshan · 6h ago
So what tools were sanctioned by IT?
vcarrico · 3h ago
* pyenv for python version management

* poetry for package manager

* vscode + copilot

msgodel · 6h ago
Black is the main thing you want IMO.

I think language servers and autocomplete are much more useful for .net (I used to do a lot of C# as a freelancer in college) than they are for python. Personally I just open a REPL and tab around in that if I need it but I do that maybe once a month. Most software is well organized such that you can keep enough of the theory in your head for the default nvim config to work easily. A small FITM model with a ring context like Qwen can help a bit with boilerplate if you really want autocomplete.

Python just isn't that verbose.

kingkongjaffa · 4h ago
Ruff has replaced Black imo. Don’t use black in 2025.