One more solution is to look for T&M equipment that is LXI enabled and write your python scripts to leverage SCPI functionality..
Of course, you could use GPIB, USB with SCPI as well.. it doesnt necessarily have to be ethernet enabled.
You can just look for the equipment you want, power supplies, electronic loads, system multimeters with acquisition cards and so on..
its not cheap.. but its not NI expensive.. but the advantage is that most of the equipment will be robust and can be repurposed or modified with little to no hassle later..