Convert your SVG files to PDF and PNG.
CairoSVG is:
CairoSVG is available on PyPI, you can install it with pip:
$ pip3 install cairosvg
You can have more information and help in the "Installation" part of the documentation .
You can use CairoSVG as a standalone command-line program:
$ cairosvg image.svg -o image.png
You can also use CairoSVG as a Python 3 library:
$ python3 >>> import cairosvg >>> cairosvg.svg2pdf(url='image.svg', write_to='image.pdf')
Please read the documentation to learn more about how to use CairoSVG.
Latest version of CairoSVG is 2.7.1, released on August 5, 2023 (changelog).
CairoSVG 2.5.2 has been released!