Glyphsynth

Latest version: v0.6.1

Safety actively analyzes 688433 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.6.1

Glyph variant exporting
- Automatically set glyph class in subclassed `BaseVariantFactory` from type parameter
- Avoids redundancy of user setting `glyph_cls`

0.6.0

Glyph API
- Aggregate glyph params and SVG properties based on whether field is non-`None` or explicitly set
- Preserves param defaults while allowing to "unset" fields by explicitly setting to `None`

0.5.1

Drawing API
- Enable `insert_glyph()` on `Group` in addition to `BaseGlyph`

0.5.0

Glyph API
- Added more specific type hints for SVG property values
- Use `default_params` or `default_properties` to instantiate default params or properties respectively on `BaseGlyph` subclass
- Improved gradient creation via `create_linear_gradient()` and `create_radial_gradient()`, defined on `BaseGlyph` and `Group`

0.3.0

Interface changes
- Added proxy objects for `svgwrite` elements: `Rect`, `Circle`, etc
- Provide type-safe APIs and conveniences for working with gradients, groups, etc
- Enable creating elements on a `Group` instance, nesting created elements under the group

0.2.0

API changes
- `draw_*()` APIs now take `PaintingProperties` instance instead of kwargs
- Enables better type checking and autocompletion

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.