summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/numpy
diff options
context:
space:
mode:
Diffstat (limited to 'magic/Magdir/numpy')
-rw-r--r--magic/Magdir/numpy9
1 files changed, 9 insertions, 0 deletions
diff --git a/magic/Magdir/numpy b/magic/Magdir/numpy
new file mode 100644
index 0000000..c1520dd
--- /dev/null
+++ b/magic/Magdir/numpy
@@ -0,0 +1,9 @@
+
+#------------------------------------------------------------------------------
+# $File: numpy,v 1.1 2019/05/09 16:24:36 christos Exp $
+# numpy: file(1) magic for NumPy array binary serialization format
+# Reference: https://docs.scipy.org/doc/numpy/reference/generated/numpy.lib.format.html
+0 string \x93NUMPY NumPy array,
+>6 ubyte x version %d
+>7 ubyte x \b.%d,
+>8 uleshort x header length %d