Webcolors

Latest version: v24.11.1

Safety actively analyzes 688532 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

24.11.1

~~~~~~~~~~~~~~~

Released November 2024

* Correct an error with specifying the version in the 24.11.0 package. The
version number of the package was accidentally defined in two places, and
they were out of sync. The extra definition has been removed. The 24.11.0
package has been yanked from PyPI to prevent problems.

24.11.0

~~~~~~~~~~~~~~~

Released November 2024

* Supported Python versions are now 3.9, 3.10, 3.11, 3.12, and 3.13.

24.8.0

~~~~~~~~~~~~~~

Released August 2024

* Added the :func:`~webcolors.names` function to allow retrieving lists of
color names. The underlying mappings of color names/values still are not
supported API; to obtain the color value corresponding to a name, use the
appropriate conversion function.

24.6.0

~~~~~~~~~~~~~~

Released June 2024

* Supported Python versions are now 3.8, 3.9, 3.10, and 3.12.

* Running the unit tests no longer uses a third-party test runner; the
standard-library ``unittest`` module's runner is used instead.

* Documentation of the HTML5 color algorithms has been updated to emphasize
which HTML5 spec is used (the WHATWG spec, which is now the only canonical
and maintained HTML5 spec) and comments in the implementations have been
updated to include the latest prose description of the HTML5 algorithms from
the spec. These updates do not change the behavior of the HTML5 algorithms,
and are only for clarity of documentation and explanation.

* Adopted `CalVer versioning <https://calver.org>`_.

* The raw mappings of color names/values are no longer publicly exposed; use
the appropriate normalizing conversion functions instead of accessing the
mappings directly.


Releases not under CalVer
-------------------------

1.13

~~~~~~~~~~~~

Released March 2023

* Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11.

* The codebase was significantly reorganized and modernized. Public API is
unchanged. Imports should continue to be directly from the top-level
``webcolors`` module; attempting to import from submodules is not supported.

* Now packaging declaratively via ``pyproject.toml`` with `PEP 517
<https://peps.python.org/pep-0517/>`_ support from ``setuptools``.

1.12

~~~~~~~~~~~~

Released May 2022

* Supported Python versions are now 3.7, 3.8, 3.9, and 3.10.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.