Python tools to create and manipulate SVG files
Latest commit 13e0710 Aug 26, 2016 Bartosz T fix badges
Failed to load latest commit information.
docs new section of the tutorial Mar 24, 2016
examples added defaults Jun 13, 2014
src/svgutils fixed conflict Aug 26, 2016
tests fixed default unit Mar 21, 2016
.gitignore updated docs Mar 19, 2016
.travis.yml deprecate old python versions Aug 26, 2016
LICENSE added license Aug 30, 2011
README.rst fix badges Aug 26, 2016
requirements.txt added requirements file Jan 21, 2016 deprecate old python versions Aug 26, 2016


Python-based SVG editor

This is an utility package that helps to edit and concatenate SVG files. It is especially directed at scientists preparing final figures for submission to journal. So far it supports arbitrary placement and scaling of svg figures and adding markers, such as labels.

See a blog post for a short tutorial.


From PyPI

You can install svgutils from Python Package Index (PyPI) using the pip utility:

pip install svgutils --user

Note that the pip will attempt to install lxml library if it is not already installed. For the installation to be sucessful, you need development libraries of libxml2 and libxslt1. On Ubuntu and other Debian-derived Linux distributions you can install them via:

sudo apt-get install libxml2-dev libxslt-dev

From sources

To install system-wide (needs administrator privilages):

python install

To install locally (do not forget to add $HOME/python/lib/python2.6/site-packages/ to your Python path):

python install --user


The package is distributed under MIT license (see LICENSE file for information).

Related packages

svg_stack is a similar package that layouts multiple SVG files automatically (in a Qt-style).


Bartosz Telenczuk (