zfits from zfits import FactFits f = FactFits('20160401_153.fits.fz') for event in f: print(event) # event is a dict{string: np.1d-array} Install pip install .