Hmm, the website and GitHub repo trigger my ai-slop filter unfortunately.
Tho I really was looking for a nice circuitsim.
QUCS Studio has a python API. It's so ancient, not only is it certainly not slop, it comes with years of FOSS drama pre-build.
No, but seriously. QUCS works for most projects, it's pretty impressive.
I cooked up this slop a little while ago. https://turbospice.net/ It's still slop and probably not as good but maybe less chaotic looking
https://www.falstad.com/circuit/circuitjs.html