{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup/2"},{"label":"Visualization","url":"https://skillfed.io/packages/category/scientific-engineering-visualization"},{"label":"Vector-Based","url":"https://skillfed.io/packages/category/multimedia-graphics-editors-vector-based"}],"enrichment":{"capability":"svgutils lets you programmatically edit, scale, position, and concatenate SVG files, with support for adding labels and markers to figures.","skillfed_tags":["scientific-computing","figure-generation","batch-processing"],"use_cases":["Combine multiple scientific plots (e.g., from matplotlib) into a single multi-panel figure with consistent layout.","Automatically add panel labels (A, B, C) and scale bars to a set of SVG figures for publication.","Programmatically position and scale diagram elements without opening a GUI editor.","Generate reproducible figure layouts as part of a data analysis pipeline or Jupyter notebook.","Batch-process SVG files to apply consistent transformations (scaling, positioning) across many figures."],"what_it_does":"svgutils is a Python library for programmatic SVG editing, designed primarily for scientists preparing publication-ready figures. It lets you load SVG files, scale and position them arbitrarily, add text labels and markers, and combine multiple SVGs into a single output. The package wraps lxml to handle the underlying XML manipulation, so you work with SVG elements and coordinates rather than raw XML.\n\nTypical use involves loading one or more SVG files, arranging them on a canvas with specific dimensions and offsets, annotating them with labels or other markers, and saving the result. It's aimed at automating the tedious manual work of figure assembly in tools like Inkscape, particularly when you have many similar figures to prepare for journal submission.","worth_installing":"Yes, if you need to automate SVG figure assembly for scientific publications. The package is actively maintained, has low install friction, and solves a real problem for researchers. However, be aware that the latest release is from 2021 and Python version support is unclear\u2014test it with your target Python version before relying on it in production pipelines."},"id":"svgutils","links":{"html":"https://skillfed.io/packages/svgutils","md":"https://skillfed.io/packages/svgutils.md","pypi":"https://pypi.org/project/svgutils/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2021-02-10","license_spdx":null,"license_treatment":"permissive","name":"svgutils","python_support":"unspecified","summary":"Python SVG editor"},"popularity":{"monthly_downloads":85227,"position":13940,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.4"}
