@Denis Yes, the way would be to import ctypes and access the dynamic library like dll = ctypes.cdll.LoadLibrary("plugin.dll"), then use it's functions like dll.function_name(param1, param2).
docs.python.org/3/library/ctypes.html#loading-shared-libraries