Scripting VST plugins

Is it possible to script VST plugins via Audacity? In particular, changing plugin settings from a Python (or Nyquist or whatever) script?

I am trying to work with a VST2 plugin on Linux; I also had a go at installing cython-vst-loader, so I could load the plugin directly in Python, but couldn’t get that to install. The pedalboard package looks good but only works with VST3 plugins. neil-vst only works on Windows.

Thanks in advance for any pointers!

You can pass parameters to certain built-in effects such as Amplify, etc., but I am not familiar with any such interface for 3rd-party plugins.