python script to analyze metal-organic frameworks