pcicrawler is a CLI tool to display/filter/export information about PCI or PCI Express devices and their topology.
conda install conda-forge::pcicrawler