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’d also check out
poetry2nix
if you’re a poetry fan and interested in building your package with nix. See https://www.tweag.io/blog/2020-08-12-poetry2nix/.