is_npy_npz

glue.core.data_factories.is_npy_npz(filename)[source]

The first bytes are x93NUMPY (for npy) or PKx03x04 (for npz)