Layout library for Python - built with Taffy #587
Replies: 2 comments 2 replies
-
Neat! I'm really happy to see it being used elsewhere. How was the interop process? |
Beta Was this translation helpful? Give feedback.
-
That's awesome. We should probably add a "bindings" section to the readme and link out to stretchable and other bindings as/when they are created. FYI, a 0.4 release of Taffy is imminent which will come with support for block layout, the overflow property / scrollable layouts, and also reworks how measure functions are done to be more general and allow borrowed context to be accessed during layout (you'll probably need to rework your integration a little if you upgrade, but they should be internal changes and shouldn't require any changes to the API of your library). Also, we could potentially coordinate on testing. I'm vaguely planning to generalise Taffy's test generator to be able to generate tests for multiple languages in order to accommodate our own first-party C and WASM bindings (or possibly adapt Yoga's test generator as we mostly share a test suite with Yoga and Yoga's generator already supports multiple backends - some Yoga's generator is in Ruby though, which I am keen to avoid! So potentially a port of Yoga's generator to either Rust or JavaScript) |
Beta Was this translation helpful? Give feedback.
-
Hi all,
First of all, I'd like to thank you for your efforts in building and continuously improving on Taffy, it's highly appreciated 👍
I'm the creator and maintainer of stretchable, a layout library for Python that is based on Taffy. Version 1.0 was released yesterday, it's still early days and there's certainly room for improvement, but it should be quite useable for those who are working in the Python ecosystem 😄
Beta Was this translation helpful? Give feedback.
All reactions