You are here: Home / LBN / Up2date / Core Linux / BastionLinux 36 / python3-wcag_contrast_ratio-0.9-1.lbn36.noarch

python3-wcag_contrast_ratio-0.9-1.lbn36.noarch

Package Attributes
RPM  python3-wcag_contrast_ratio-0.9-1.lbn36.noarch.rpm Architecture  noarch Size  5107 Created  2022/09/06 06:03:08 UTC
Package Specification
Summary A library for computing contrast ratios, as required by WCAG 2
Group Unspecified
License MIT License
Home Page https://github.com/gsnedders/wcag-contrast-ratio
Description

wcag-contrast-ratio A library for computing contrast ratios, as required by WCAG 2.0.Usage Simple usage follows this pattern:.. code-block:: python >> import wcag_contrast_ratio as contrast >> black (0.0, 0.0, 0.0) >> white (1.0, 1.0, 1.0) >> contrast.rgb(black, white) Two useful helper functions are provided, to check if contrast meets the required level:.. code-block:: python >> import...

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(FileDigests)  
Provides
python-wcag_contrast_ratio
python3-wcag_contrast_ratio
python3.10-wcag_contrast_ratio
python3.10dist(wcag-contrast-ratio)
python3dist(wcag-contrast-ratio)
Obsoletes
python-wcag_contrast_ratio

Document Actions