For starters, you can read Using IfcOpenShell to parse IFC files with Python
IfcOpenShell-Python
API Documentation