here is the command sample of lspci here. so basically you would call subprocess to access the command from python.
import subprocess
def find_vga():
vga = subprocess.Popen("lspci -v -s `lspci | awk '/VGA/{print $1}'`", shell=True)
return vga
print(find_vga())
OR
def find_vga():
vga = subprocess.check_output("lspci -v -s `lspci | awk '/VGA/{print $1}'`", shell=True, executable='/bin/bash')
return vga
print(find_vga())