DIA packaged for use without COM registration using comtypes.
Wheels are available. Building from source requires the DIA SDK (Install the "Desktop development with C++" workload of Visual Studio) and the "Debugging Tools for Windows" from the Windows SDK.
pip install pydia2
import pydia2
source = pydia2.CreateObject(pydia2.dia.DiaSource, interface=pydia2.dia.IDiaDataSource)
source.loadDataFromPdb("example.pdb")
session = source.openSession()
# Query the session...
MIT license.
DIA (Debug Information Access) is distributed according to the Microsoft Visual Studio™ distributable code license terms: https://visualstudio.microsoft.com/license-terms/mlt031819/
symsrv.dll is distributed according to the Windows SDK "Distributable Code" license terms: https://docs.microsoft.com/en-us/legal/windows-sdk/redist.