summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsvg2pdf7
1 files changed, 7 insertions, 0 deletions
diff --git a/svg2pdf b/svg2pdf
new file mode 100755
index 0000000..9ac6ca1
--- /dev/null
+++ b/svg2pdf
@@ -0,0 +1,7 @@
+#!/usr/bin/python3
+
+import sys
+import cairosvg
+
+cairosvg.svg2pdf(url=sys.argv[1], write_to=sys.argv[2])
+