svglib 1.5.1


A pure-Python library for reading and converting SVG

A pure-Python library for reading and converting SVG

Stars: 305, Watchers: 305, Forks: 79, Open Issues: 51

The deeplook/svglib repo was created 7 years ago and the last code push was 1 weeks ago.
The project is popular with 305 github stars!

How to Install svglib

You can install svglib using pip

pip install svglib

or add it to a project with poetry

poetry add svglib

Package Details

Dinu Gherman
GitHub Repo:


  • Documentation
  • Multimedia/Graphics/Graphics Conversion
  • Printing
  • Software Development/Libraries/Python Modules
  • Text Processing/Markup/XML
  • Utilities
No  svglib  pypi packages just yet.


A list of common svglib errors.

Code Examples

Here are some svglib code examples and snippets.

GitHub Issues

The svglib package has 51 open issues on GitHub

  • fix: using dedicated logger instead of root logger
  • Using root log instead of logger
  • Add Python 3.11, drop Python 3.7
  • CI failure because of missing cairo
  • [] pre-commit autoupdate

See more issues on GitHub

Related Packages & Articles

svgwrite code examples

These python code examples will show you how to use the svgwrite module to generate svg images.

svgwrite 1.4.3

svgwrite is a powerful Python library designed to generate SVG (Scalable Vector Graphics) images. It's a library that allows you to create SVG files in a pythonic way without having to write raw XML. It provides an intuitive and straightforward interface for creating complex SVG images, making it a valuable tool for any Python developer working with vector graphics and performing svg image generation. The library is standalone and does not depend on any other Python packages.