you should have no problem doing Python dev on nixos, it's basically made for doing development environments like this without the need for containers. you should just be able to set up a nix shell for your project that contains python and all the necessary dependencies, and then enter the shell. then, you'll have all the right dependencies installed for your project and still have access to any editors you have installed
I really like immutable distros, and am currently using NixOS. I feel like despite still being relatively obscure, NixOS is a bit of an outlier since it has more packages than any other distro and is (so far) the only distro I've used that has never broken. There is a steep learning curve, and I certainly wouldn't recommend it for non programmers, but it is something truly different than all mainstream Linux distros while being extremely reliable.