%global _empty_manifest_terminate_build 0 Name: python-css-inline Version: 0.8.7 Release: 1 Summary: Fast CSS inlining written in Rust License: MIT URL: https://pypi.org/project/css-inline/ Source0: https://mirrors.nju.edu.cn/pypi/web/packages/53/4d/511e3155bf8f863d129e8d1006cc01f26ecfb36b2622dd32551c654c5f66/css_inline-0.8.7.tar.gz %description # css_inline [](https://github.com/Stranger6667/css-inline/actions) [](https://pypi.org/project/css_inline/) [](https://pypi.org/project/css_inline/) [](https://opensource.org/licenses/MIT) Blazing-fast CSS inlining for Python implemented with Mozilla's Servo project components. Features: - Removing `style` tags after inlining; - Resolving external stylesheets (including local files); - Control if `style` tags should be processed; - Out-of-document CSS to inline; - Inlining multiple documents in parallel (via Rust-level threads) The project supports CSS Syntax Level 3. ## Installation To install `css_inline` via `pip` run the following command: ``` pip install css_inline ``` Pre-compiled wheels for most popular platforms are provided. If your platform is not in the support table below, you will need a Rust compiler to build this package from source. The minimum supported Rust version is 1.60. ## Usage To inline CSS in a HTML document: ```python import css_inline HTML = """