{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"}],"enrichment":{"capability":"Programmatically generate SVG images and animations in Python, with support for rendering in Jupyter notebooks and exporting to PNG, MP4, and GIF formats.","skillfed_tags":["jupyter-integration","vector-graphics","animation"],"use_cases":["Generate diagrams, charts, and technical illustrations programmatically within data science notebooks","Create animated visualizations with SVG-native keyframe animations and playback controls","Build interactive drawing tools in Jupyter using the DrawingWidget for mouse event handling","Export vector graphics to PNG or video formats for presentations and reports","Define reusable drawing patterns with gradients, clip paths, and grouped elements"],"what_it_does":"drawsvg is a Python library for creating SVG vector graphics and animations through code rather than manual XML editing. It supports most common SVG elements (circles, rectangles, paths, text, arcs, markers) and nearly all SVG attributes via Python keyword arguments. The library integrates directly with Jupyter notebooks for inline display and includes an interactive widget for mouse-driven updates.\n\nThe package handles both static drawings and native SVG animations with playback controls, and can export to multiple formats. It has no runtime dependencies, making installation straightforward. The coordinate system defaults to standard SVG conventions (y increases downward), and the API uses snake_case naming throughout.","worth_installing":"Yes. Low install friction, no dependencies, active maintenance, permissive license, and a solid feature set for SVG generation and Jupyter integration make this a practical choice for anyone generating vector graphics programmatically. The recent release and 694 GitHub stars indicate a stable, used project."},"id":"drawsvg","links":{"html":"https://skillfed.io/packages/drawsvg","md":"https://skillfed.io/packages/drawsvg.md","pypi":"https://pypi.org/project/drawsvg/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":null,"license_treatment":"permissive","name":"drawsvg","python_support":"unspecified","summary":"A Python 3 library for programmatically generating SVG (vector) images and animations.  Drawsvg can also render to PNG, MP4, and display your drawings in Jupyter notebook and Jupyter lab."},"popularity":{"monthly_downloads":895484,"position":4789,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.4.2"}
