What's Changed
[0.6.0] - 2026-03-10
Added
- Added cache for font queries (fonts)
- Added a helper function for creating a bbox around points and refactored to use it
- Added group araound textlayout; made better svg element ids and classes
- Replaced shapely and bezier geometry by custom analytical geometry
Changed
- Replaced named tuple by dataclass (fonts)
- Replaced matplotlib fonts finding by custom one
- Renamed self_* methods to own_* methods
- Replaced Bezier approximations with direct elliptical arc calculations (geometry)
- Removed unnecessary helper functions (geometry)
Fixed
- Set modifications to own_angle rather than angle (celldesigner)
Miscellaneous
- Added support for python 3.13 and 3.14
- Added TODO.txt to .gitignore
Testing
- Updated test after refactor (geometry)
- Added tests for union of bbox and making bbox around points
Installation
pip install momapy==0.6.0
Links