We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 783be75 commit 412f6f4Copy full SHA for 412f6f4
show_version
@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+: Returns the version of Python libraries.
3
+: <<DOCUMENTATIONXX
4
+use like this:
5
+> ./show_version numpy
6
+numpy==1.26.4
7
+DOCUMENTATIONXX
8
+
9
+python -c "from importlib.metadata import version; print(\"$1\" + '==' + version(\"$1\"))"
0 commit comments