You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 36 / python2-wcag_contrast_ratio-0.9-1.lbn36.noarch

python2-wcag_contrast_ratio-0.9-1.lbn36.noarch

Package Attributes
RPM  python2-wcag_contrast_ratio-0.9-1.lbn36.noarch.rpm Architecture  noarch Size  5604 Created  2023/03/22 03:19:23 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
python2-wcag_contrast_ratio

Document Actions