{"categories":[{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"}],"enrichment":{"capability":"Parses SVG path definitions and provides objects to manipulate path segments (lines, arcs, cubic and quadratic B\u00e9zier curves) with methods to calculate length, find points along paths, and generate SVG path strings.","skillfed_tags":["svg-graphics","geometry-math"],"use_cases":["Parse and manipulate SVG path data in graphics processing or vector editing tools.","Calculate the length of SVG paths or find coordinates at specific positions along curves.","Convert between SVG path string format and programmatic path segment objects.","Generate bounding boxes for SVG paths to determine spatial bounds.","Build or modify SVG paths dynamically in web or graphics applications."],"what_it_does":"svg.path is a lightweight library for working with SVG path data. It provides four path segment classes\u2014Line, Arc, CubicBezier, and QuadraticBezier\u2014plus a Path container that acts as a mutable sequence. You can parse SVG path definition strings into Path objects, build paths programmatically from segment objects, and manipulate them by adding, replacing, or deleting segments. Coordinates are represented as complex numbers where the real part is X and the imaginary part is Y.\n\nThe library offers methods to find points along a path, calculate segment and total path length, check for smooth B\u00e9zier transitions, compute bounding boxes, and generate SVG path strings from Path objects. Length calculation for curved segments uses recursive approximation, which you can tune via an error parameter for speed-accuracy tradeoffs. The package has no external runtime dependencies and supports Python 3.8 and later.","worth_installing":"Yes. svg.path is a stable, actively maintained library with zero dependencies, permissive licensing, and no known vulnerabilities. It fills a specific need for SVG path manipulation in Python with a clean API. Install it if you work with SVG data or need to perform geometric calculations on path segments."},"id":"svg-path","links":{"html":"https://skillfed.io/packages/svg-path","md":"https://skillfed.io/packages/svg-path.md","pypi":"https://pypi.org/project/svg-path/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-07","license_spdx":null,"license_treatment":"permissive","name":"svg.path","python_support":"supports_current","summary":"SVG path objects and parser"},"popularity":{"monthly_downloads":2702687,"position":2935,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"7.1"}
