{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/4"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/2"},{"label":"Documentation","url":"https://skillfed.io/packages/category/documentation"},{"label":"XML","url":"https://skillfed.io/packages/category/text-processing-markup-xml"},{"label":"Graphics Conversion","url":"https://skillfed.io/packages/category/multimedia-graphics-graphics-conversion"},{"label":"Printing","url":"https://skillfed.io/packages/category/printing"}],"enrichment":{"capability":"Svglib reads SVG files and converts them to ReportLab Drawing objects, which can then be rendered to PDF, bitmap, or other formats supported by ReportLab.","skillfed_tags":["graphics-conversion","pdf-generation","svg-processing"],"use_cases":["Convert SVG graphics to PDF for document generation or archival","Embed SVG images in ReportLab-based PDF reports or Platypus documents","Batch-convert SVG files to PDF from the command line using the svg2pdf tool","Render SVG to bitmap formats via ReportLab's renderPM backend","Build tools that need to programmatically transform vector graphics to print-ready formats"],"what_it_does":"Svglib is a pure-Python library that reads SVG files (plain or compressed) and converts them into ReportLab Drawing objects. These objects can then be rendered to PDF, EPS, SVG, or bitmap formats. The library handles SVG gradients, conditional rendering, and clip paths, though it has known limitations around CSS imports, mask elements, and ForeignObject support.\n\nYou can use it as a Python package to programmatically convert SVG to other formats, or as a command-line tool (svg2pdf) to batch-convert SVG files to PDF from the shell. It supports Python 3.9+ and PyPy3, with dependencies on reportlab, lxml, pillow, cssselect2, and tinycss2.","worth_installing":"Yes. Svglib is actively maintained, has no known vulnerabilities, low install friction, and solves SVG-to-PDF/bitmap conversion well for most common use cases. The LGPL-3.0-or-later license is copyleft, so disclose modifications if you distribute derivatives. Known limitations (no @import, no mask elements, limited CSS) are documented; verify they don't block your specific SVG files."},"id":"svglib","links":{"html":"https://skillfed.io/packages/svglib","md":"https://skillfed.io/packages/svglib.md","pypi":"https://pypi.org/project/svglib/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":"LGPL-3.0-or-later","license_treatment":"copyleft","name":"svglib","python_support":"supports_current","summary":"A pure-Python library for reading and converting SVG"},"popularity":{"monthly_downloads":5940849,"position":2006,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.2.0"}
