https://github.com/domdfcoding/webcolors-stubs
PEP 561 based Type information for webcolors.
https://github.com/domdfcoding/webcolors-stubs
css python python3 type-stubs webcolors
Last synced: about 1 month ago
JSON representation
PEP 561 based Type information for webcolors.
- Host: GitHub
- URL: https://github.com/domdfcoding/webcolors-stubs
- Owner: domdfcoding
- License: bsd-3-clause
- Created: 2020-06-05T17:34:09.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2026-05-07T07:23:44.000Z (2 months ago)
- Last Synced: 2026-06-07T17:04:58.868Z (about 1 month ago)
- Topics: css, python, python3, type-stubs, webcolors
- Language: Python
- Homepage:
- Size: 436 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
README
################
webcolors-stubs
################
`PEP 561`_ based Type information for webcolors_.
.. _PEP 561: https://www.python.org/dev/peps/pep-0561
.. _webcolors: https://github.com/ubernostrum/webcolors
``webcolors`` is a module for working with HTML/CSS color definitions.
.. start shields
.. list-table::
:stub-columns: 1
:widths: 10 90
* - Tests
- |actions_linux| |actions_windows| |actions_macos|
* - PyPI
- |pypi-version| |supported-versions| |supported-implementations| |wheel|
* - Activity
- |commits-latest| |commits-since| |maintained| |pypi-downloads|
* - QA
- |codefactor| |actions_flake8| |actions_mypy|
* - Other
- |license| |language| |requires|
.. |actions_linux| image:: https://github.com/domdfcoding/webcolors-stubs/workflows/Linux/badge.svg
:target: https://github.com/domdfcoding/webcolors-stubs/actions?query=workflow%3A%22Linux%22
:alt: Linux Test Status
.. |actions_windows| image:: https://github.com/domdfcoding/webcolors-stubs/workflows/Windows/badge.svg
:target: https://github.com/domdfcoding/webcolors-stubs/actions?query=workflow%3A%22Windows%22
:alt: Windows Test Status
.. |actions_macos| image:: https://github.com/domdfcoding/webcolors-stubs/workflows/macOS/badge.svg
:target: https://github.com/domdfcoding/webcolors-stubs/actions?query=workflow%3A%22macOS%22
:alt: macOS Test Status
.. |actions_flake8| image:: https://github.com/domdfcoding/webcolors-stubs/workflows/Flake8/badge.svg
:target: https://github.com/domdfcoding/webcolors-stubs/actions?query=workflow%3A%22Flake8%22
:alt: Flake8 Status
.. |actions_mypy| image:: https://github.com/domdfcoding/webcolors-stubs/workflows/mypy/badge.svg
:target: https://github.com/domdfcoding/webcolors-stubs/actions?query=workflow%3A%22mypy%22
:alt: mypy status
.. |requires| image:: https://dependency-dash.repo-helper.uk/github/domdfcoding/webcolors-stubs/badge.svg
:target: https://dependency-dash.repo-helper.uk/github/domdfcoding/webcolors-stubs/
:alt: Requirements Status
.. |codefactor| image:: https://img.shields.io/codefactor/grade/github/domdfcoding/webcolors-stubs?logo=codefactor
:target: https://www.codefactor.io/repository/github/domdfcoding/webcolors-stubs
:alt: CodeFactor Grade
.. |pypi-version| image:: https://img.shields.io/pypi/v/webcolors-stubs
:target: https://pypi.org/project/webcolors-stubs/
:alt: PyPI - Package Version
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/webcolors-stubs?logo=python&logoColor=white
:target: https://pypi.org/project/webcolors-stubs/
:alt: PyPI - Supported Python Versions
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/webcolors-stubs
:target: https://pypi.org/project/webcolors-stubs/
:alt: PyPI - Supported Implementations
.. |wheel| image:: https://img.shields.io/pypi/wheel/webcolors-stubs
:target: https://pypi.org/project/webcolors-stubs/
:alt: PyPI - Wheel
.. |license| image:: https://img.shields.io/github/license/domdfcoding/webcolors-stubs
:target: https://github.com/domdfcoding/webcolors-stubs/blob/master/LICENSE
:alt: License
.. |language| image:: https://img.shields.io/github/languages/top/domdfcoding/webcolors-stubs
:alt: GitHub top language
.. |commits-since| image:: https://img.shields.io/github/commits-since/domdfcoding/webcolors-stubs/v0.0.4
:target: https://github.com/domdfcoding/webcolors-stubs/pulse
:alt: GitHub commits since tagged version
.. |commits-latest| image:: https://img.shields.io/github/last-commit/domdfcoding/webcolors-stubs
:target: https://github.com/domdfcoding/webcolors-stubs/commit/master
:alt: GitHub last commit
.. |maintained| image:: https://img.shields.io/maintenance/yes/2026
:alt: Maintenance
.. |pypi-downloads| image:: https://img.shields.io/pypi/dm/webcolors-stubs
:target: https://pypistats.org/packages/webcolors-stubs
:alt: PyPI - Downloads
.. end shields
Full documentation for ``webcolors`` is `available online `_.
|
Installation
--------------
.. start installation
``webcolors-stubs`` can be installed from PyPI.
To install with ``pip``:
.. code-block:: bash
$ python -m pip install webcolors-stubs
.. end installation