Skip to content

Releases: reznakt/svglab

v0.3.0

18 Jan 13:31
403b160
Compare
Choose a tag to compare

New features 🚀

  • Add support for adding/subtracting points to/from D (e8be080)

Other changes 📝

  • Rework path data manipulation (#17)

Full Changelog: v0.2.0...v0.3.0

v0.2.0

07 Jan 10:37
a2a4cae
Compare
Choose a tag to compare

v0.1.1

05 Jan 17:16
9f7e336
Compare
Choose a tag to compare

v0.1.0

02 Jan 20:37
75f5d02
Compare
Choose a tag to compare

Initial release 🚀

  • SVG parsing, manipulation, and writing
  • Support for all SVG 1.1 elements and attributes
  • Support for special XML elements (CDATA, comments, text)
  • Attributes are parsed into native Python types for easy manipulation
  • Highly configurable formatting options:
    • indentation level
    • maximum precision for floating-point numbers
    • color mode (rgb, rgba, hsl, hex, named)
    • relative/absolute path commands
    • scientific notation for small/large numbers
    • and many more...
  • Strong type safety:
    • one class per distinct SVG element
    • typed attributes
    • runtime validation thanks to pydantic
  • Support for all beautifulsoup4 parsers (e.g., html.parser, lxml, html5lib)