Svgpathtools is a collection of tools for manipulating and
analyzing SVG Path objects and Bézier curves.
Provides
Requires
License
MIT
Changelog
* Thu Dec 04 2025 Mia Herkt <mia@0x0.st>
- Update to 1.7.2
* Fix for arc transforms -- use eigh instead of eig
[#]gh/mathandy/svgpathtools#238
* Fixed wrong length of flat quadratic bezier
* Mon Jun 09 2025 Mia Herkt <mia@0x0.st>
- Switch to pip-based build
- Update to 1.7.1
Fixes:
* Rotation angle calculation when transforming arcs
* Converting rounded rect to a d-string path
* Floating point error in bezier bbox calculation
* Skip end path in polyline if no dedicated end path is provided
Changes:
* When converting ellipses to d-string paths, use arcs by default
* Add various new test cases
* Fri May 09 2025 Mia Herkt <mia@0x0.st>
- Update to 1.7.0
* Hashes used by test suite are now platform-agnostic
* Drop support for Python < 3.8
- Enable test suite
* Sun May 21 2023 Mia Herkt <mia@0x0.st>
- Update to 1.6.1
* Fix circles parsing to non-closed paths
[#]gh/mathandy/svgpathtools#198
* path.transform: Arc sweep is reversed by negative scale
[#]gh/mathandy/svgpathtools#200
* return error if Path.point() cannot be computed
* Tue Feb 21 2023 Mia Herkt <mia@0x0.st>
- Updote to 1.6.0
* Wed Jul 20 2022 Mia Herkt <mia@0x0.st>
- Update to 1.5.1
* Fix float rounding error in elliptic arc radius check
(#gh/mathandy/svgpathtools#171)
- Disable test suite because it can only work on specific CPU
(micro-)architectures.
(#gh/mathandy/svgpathtools#183)
* Wed Jun 15 2022 Mia Herkt <mia@0x0.st>
- Update to 1.5.0
* Fix implementation of points()
(#gh/mathandy/svgpathtools#155)
* Add support for rounded rectangles
(#gh/mathandy/svgpathtools#161)
* Fix Document.add_path for empty groups
(#gh/mathandy/svgpathtools#170)
* Allow file-like object as input to Documents ctor and
svg2paths function
* Add convenience functions for converting svgs contained in a
string to paths
* Thu Dec 23 2021 Mia Herkt <mia@0x0.st>
- Update to 1.4.4
* Fix issue with filenames with no directory causing error
- No notable changes in 1.4.3
- Changes in 1.4.2:
* Hashable Path objects, and more.
* Sat Feb 13 2021 Dirk Müller <dmueller@suse.com>
- skip python 3.6 (scipy)
* Wed Dec 16 2020 Mia Herkt <mia@0x0.st>
- Update to 1.4.1
* Added clipping to work around floating point error in
Arc._parameterize
* Support flattening SVG groups and handling transforms
* save() now requires filename
* Better implementation of Arc.intersect(Line)
* Fixed issue with viewbox being written as tuple
* Added paths2Drawing functionality
* Update Path.area to work with Arc segments
* When cx and cy attributes are not defined either in ellipse
or circle tag, consider both to be 0
* Fix Arc.sweep when transform scale flips it around
* Relative path support
* Fixed crash in line2paths()
* Support flattening paths of only nested groups
* Add Path.is_contained_by() to check if one path is inside
another
* Fix Arc/Arch intersections
* Add Path.attributes and Path.meta attributes
* Fix polyline and polygon conversion
* Document now stores element and transform in path
* Renamed Document.flatten_all_paths to flattened_paths
* Added vectorized points() method for bezier segments
* Sped up randialrange for Line objects
* Fix paths-data-12-t.svg from the SVG 1.1 test suite
Files
/usr/lib/python3.11/site-packages/svgpathtools
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info/INSTALLER
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info/METADATA
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info/RECORD
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info/REQUESTED
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info/WHEEL
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info/licenses
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info/licenses/LICENSE.txt
/usr/lib/python3.11/site-packages/svgpathtools-1.7.2.dist-info/top_level.txt
/usr/lib/python3.11/site-packages/svgpathtools/__init__.py
/usr/lib/python3.11/site-packages/svgpathtools/__pycache__
/usr/lib/python3.11/site-packages/svgpathtools/__pycache__/__init__.cpython-311.opt-1.pyc
/usr/lib/python3.11/site-packages/svgpathtools/__pycache__/__init__.cpython-311.pyc
/usr/lib/python3