{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks/5"}],"enrichment":{"capability":"stretchable is a Python layout engine that implements CSS Block, Flexbox, and CSS Grid layout algorithms, enabling programmatic UI and report layouts without browser dependencies.","skillfed_tags":["layout-engine","css-algorithms","rust-bindings"],"use_cases":["Build responsive UI layouts for terminal applications or custom frameworks without HTML/CSS parsing.","Generate page layouts for PDF reports or complex data visualizations where CSS-like rules simplify positioning.","Compute plot layouts for multi-panel scientific figures with automatic spacing and alignment.","Prototype layout logic in Python before porting to web or native frontends that use the same CSS spec."],"what_it_does":"stretchable is a Python binding to Taffy, a Rust implementation of CSS layout algorithms (Block, Flexbox, and Grid). It lets you build a tree of layout nodes, assign CSS-like properties (margin, padding, size, flex rules), and compute final positions and dimensions\u2014all without a browser or DOM. The library is context-agnostic, so it works equally well for UI frameworks, report generators, plotting systems, or any application needing deterministic layout math.\n\nThe package ships as pre-compiled wheels for modern Python versions (3.8\u20133.13) across Windows, macOS (Intel and ARM), and Linux (glibc and musl). It has one runtime dependency (attrs) and is typed. Development is steady but aging; the last release was 289 days ago, and the repository shows no signs of abandonment but also no rapid iteration.","worth_installing":"Yes, if you need deterministic CSS-like layout computation in Python. The library is stable (Production/Stable classifier), well-typed, permissively licensed, and covers common platforms. Install friction is moderate due to compiled bindings, but wheels are pre-built. Maintenance is aging (289 days since last release) but not stalled; verify that the API and test coverage meet your edge-case needs before committing to a critical path."},"id":"stretchable","links":{"html":"https://skillfed.io/packages/stretchable","md":"https://skillfed.io/packages/stretchable.md","pypi":"https://pypi.org/project/stretchable/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-10-29","license_spdx":null,"license_treatment":"permissive","name":"stretchable","python_support":"supports_current","summary":"Layout library for Python (based on Taffy, a rust-powered implementation of CSS Grid/Flexbox)"},"popularity":{"monthly_downloads":106235,"position":12661,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.8"}
