You are here: Home / LBN / Up2date / Plone 5 / BastionLinux 25 / python2-wcag_contrast_ratio-0.9-1.lbn25.noarch

python2-wcag_contrast_ratio-0.9-1.lbn25.noarch

Package Attributes
RPM  python2-wcag_contrast_ratio-0.9-1.lbn25.noarch.rpm Architecture  noarch Size  5604 Created  2022/09/06 08:48:41 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
python2.7dist(wcag-contrast-ratio)
python2dist(wcag-contrast-ratio)

Document Actions