Releases: reznakt/svglab
Releases · reznakt/svglab
v0.3.0
v0.2.0
v0.1.1
Bug fixes 🐛
Full Changelog: v0.1.0...v0.1.1
v0.1.0
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
)