Hi, As I wanted to have a textual preview of .npy files, I noticed that there is no support (partial support in magic, none in xdg-mime upstream), and simply no documented MIME type (official or not), for the .npy file format.
Would it be reasonable to consider application/x-numpy (which is the placeholder I use for now in my code [1] so I'm only suggesting it by lazyness and lack of imagination) and perhaps even registration of application/numpy at https://www.iana.org/assignments/media-types/media-types.xhtml ? Best regards, -- Jérôme [1] Links to code: - xdg-mime XML info at https://gitlab.com/cJ/xdg-shared-mime-info-packages/-/blob/main/numpy.xml ; could be upstreamed - text preview at https://gitlab.com/exmakhina/lessopen/-/blob/main/render/xm_lessopen_render_numpy.py _______________________________________________ NumPy-Discussion mailing list -- numpy-discussion@python.org To unsubscribe send an email to numpy-discussion-le...@python.org https://mail.python.org/mailman3/lists/numpy-discussion.python.org/ Member address: arch...@mail-archive.com