{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"},{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"},{"label":"Vector-Based","url":"https://skillfed.io/packages/category/multimedia-graphics-editors-vector-based"}],"enrichment":{"capability":"svgelements parses SVG files and provides geometric objects (Path, Matrix, Color, Point, etc.) that conform to the SVG specification, enabling robust manipulation of SVG data as geometric structures.","skillfed_tags":["svg-parsing","geometric-manipulation","spec-compliant"],"use_cases":["Parse SVG files for laser-cutting or CNC machine control applications, extracting geometric data for toolpath generation.","Convert SVG shapes to Path objects and apply affine transformations (rotation, scaling, translation) for graphics manipulation.","Extract and manipulate SVG colors, angles, and lengths using robust spec-compliant parsing to avoid edge cases.","Build SVG analysis or transcoding tools that need to read, validate, and modify SVG content programmatically.","Integrate SVG geometry into custom graphics pipelines by converting SVG elements to your own internal data structures."],"what_it_does":"svgelements is a Python library that parses SVG files according to the SVG specification and exposes their geometry as manipulable Python objects. It provides classes for SVG elements like Path, Matrix, Color, Point, and shapes (Rect, Circle, Ellipse, Polygon, Line), along with transformation and rendering capabilities. The library was originally developed for meerK40t (a laser-cutting application) and aims to handle edge cases that simpler SVG parsers miss.\n\nThe package has no hard dependencies and can be used as a single-file module. It supports SVG/CSS lengths (px, pt, cm, mm, in, %), colors (keywords, hex, rgb, rgba, hsl), transformations, viewports, clipping paths, and groups. Optional soft dependencies (scipy for arc length, Pillow for image loading, numpy for fast linearization) enhance specific features. It does not currently support gradients, masks, markers, or full CSS stylesheets.","worth_installing":"Yes, if you need robust SVG parsing with geometric manipulation. The library is stable (Production/Stable, no known vulnerabilities) and has low install friction. However, it is dormant\u2014last release was 2023-08-17\u2014so expect no active maintenance. Use it for parsing and geometric operations, but do not rely on it for new SVG 2.0 features or rapid bug fixes. Suitable for established projects with stable SVG workflows."},"id":"svgelements","links":{"html":"https://skillfed.io/packages/svgelements","md":"https://skillfed.io/packages/svgelements.md","pypi":"https://pypi.org/project/svgelements/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2023-08-17","license_spdx":null,"license_treatment":"permissive","name":"svgelements","python_support":"unspecified","summary":"Svg Elements Parsing"},"popularity":{"monthly_downloads":956872,"position":4645,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.9.6"}
