$npx skillfedfor your agent

svgwrite

A Python library to create SVG drawings.

With conditionsPyPI Python ModulesReleased Jul 20222.4M downloads / moMIT LicensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — svgwrite-1.4.3-py3-none-any.whl
v1.4.3 · released 2022-07-14 · Python >=3.6

Yes, if your use case fits the existing feature set and you do not require active maintenance. The library is stable, has no dependencies, and works reliably for core SVG generation. No, if you need ongoing feature development, responsive bug fixes, or active community support—the project is archived. Evaluate whether the 1.4.3 feature set meets your needs before committing.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6 or later; Python 2 support was removed in version 1.4.
  • Installation is straightforward with no runtime dependencies.
  • However, the package is abandoned as of version 1.4.2 and explicitly states no new features will be added—only bugfixes will be merged.

License · maintenance · safety

MIT License (permissive) — Licensed under MIT License (permissive), which allows commercial and private use with minimal restrictions.

last release 2022-07-14 (1492 days) · last repo commit 2024-02-24 · 578 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,399,791 downloads/mo, #3,081 on PyPI

Verify before relying

pip install svgwrite

import svgwrite

dwg = svgwrite.Drawing('test.svg', profile='tiny')
dwg.add(dwg.line((0, 0), (10, 0), stroke=svgwrite.rgb(10, 10, 16, '%')))
dwg.add(dwg.text('Test', insert=(0, 0.2), fill='red'))
dwg.save()
  • Whether the abandoned status and lack of active maintenance poses a risk for long-term production use.
  • Whether any SVG reading or import capability exists despite design intent to create-only.
Same gist for agents: .md · .json

What it is and what it does

svgwrite is a pure Python library for programmatically creating and writing SVG files. You instantiate a Drawing object, add SVG elements (lines, circles, text, paths, groups, etc.) via method calls, and save the result to an XML file. The library handles element construction, attribute validation, and XML serialization internally, with support for multiple SVG profiles and features like gradients, markers, animations, stylesheets, and embedded fonts.

The package has no external runtime dependencies and runs on any platform supporting Python 3.6+. However, it is now abandoned: as of version 1.4.2, no new features are being added and only bugfixes are merged. The repository is archived and the last release was 2022-07-14. This makes it suitable for stable use cases where the existing feature set is sufficient, but unsuitable for projects requiring active development or responsive maintainers.

Use it for

  • Generate static SVG diagrams or charts from data without manual XML editing.
  • Create vector graphics programmatically in automated workflows or batch processing.
  • Build SVG animations and interactive graphics with embedded stylesheets and fonts.
  • Export visualizations from Python applications as scalable vector files.
  • Construct complex SVG structures via Python API calls without writing raw XML.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if your use case fits the existing feature set and you do not require active maintenance.

The library is stable, has no dependencies, and works reliably for core SVG generation. No, if you need ongoing feature development, responsive bug fixes, or active community support—the project is archived. Evaluate whether the 1.4.3 feature set meets your needs before committing.

Install

svgwrite on PyPI

Before you install

Installation is straightforward with no runtime dependencies. However, the package is abandoned as of version 1.4.2 and explicitly states no new features will be added—only bugfixes will be merged. Last release was 2022-07-14 and the repository is archived.

Requires Python 3.6 or later; Python 2 support was removed in version 1.4.

License in practice

Licensed under MIT License (permissive), which allows commercial and private use with minimal restrictions.

Quickstart

pip install svgwrite

import svgwrite

dwg = svgwrite.Drawing('test.svg', profile='tiny')
dwg.add(dwg.line((0, 0), (10, 0), stroke=svgwrite.rgb(10, 10, 16, '%')))
dwg.add(dwg.text('Test', insert=(0, 0.2), fill='red'))
dwg.save()

Verify before relying

  • Whether the abandoned status and lack of active maintenance poses a risk for long-term production use.
  • Whether any SVG reading or import capability exists despite design intent to create-only.

Package facts

LicenseMIT License permissive
Python supportSupports the current Python release >=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,492 days since the last release
Last repo commit repository archived
First released
Downloads2,399,791 / month, #3,081 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 7 - InactiveIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Multimedia :: GraphicsTopic :: Software Development :: Libraries :: Python Modules

Evidence: svgwrite-1.4.3-py3-none-any.whl

Tags

Capabilities
svg generation pythoncreate svg drawingssvg drawing libraryprogrammatic svg creationsvg file writervector graphics pythonsvg elements builder
Topics
svg-generationgraphics-outputabandoned-but-stable

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “create svg drawings”

  • svgwriteCreates SVG drawings programmatically by building XML elements and…
  • drawsvgProgrammatically generate SVG images and animations in Python, with…
  • vtracerConverts raster images (JPG, PNG) into vector graphics (SVG) by…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also drawsvg · ezdxf · svg.py · svglib · sphinxcontrib-svg2pdfconverter · svgelements · svgpathtools · dash-svg · napari-svg · potracer