diff --git a/.gitmodules b/.gitmodules index 687a351..a2618da 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "vendor/simple-icons"] path = vendor/simple-icons url = https://github.com/simple-icons/simple-icons - branch = 16.37.0 + branch = 16.38.0 diff --git a/pyproject.toml b/pyproject.toml index e1607a6..361720b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "simplepycons" -version = "1!16.37.0" +version = "1!16.38.0" description = "Python Wrapper for the simpleicons (https://simpleicons.org) library" authors = [ { name = "Carsten Igel", email = "cig@bite-that-bit.de" }, diff --git a/src/simplepycons/_kitty.py b/src/simplepycons/_kitty.py new file mode 100644 index 0000000..4aa112e --- /dev/null +++ b/src/simplepycons/_kitty.py @@ -0,0 +1,110 @@ +# +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2026 Carsten Igel. +# +# This file is part of simplepycons +# (see https://github.com/carstencodes/simplepycons). +# +# This file is published using the MIT license. +# Refer to LICENSE for more information +# +"""""" +# pylint: disable=C0302 +# Justification: Code is generated + +from typing import TYPE_CHECKING + +from .base_icon import Icon + +if TYPE_CHECKING: + from collections.abc import Iterable + + +class KittyIcon(Icon): + """""" + @property + def name(self) -> "str": + return "kitty" + + @property + def original_file_name(self) -> "str": + return "kitty.svg" + + @property + def title(self) -> "str": + return "kitty" + + @property + def primary_color(self) -> "str": + return "#000000" + + @property + def raw_svg(self) -> "str": + return ''' + kitty + +''' + + @property + def guidelines_url(self) -> "str | None": + _value: "str" = '''''' + if len(_value) > 0: + return _value + return None + + @property + def source(self) -> "str": + return '''''' + + @property + def license(self) -> "tuple[str | None, str | None]": + _type: "str | None" = '''''' + _url: "str | None" = '''''' + + if _type is not None and len(_type) == 0: + _type = None + + if _url is not None and len(_url) == 0: + _url = None + + return _type, _url + + @property + def aliases(self) -> "Iterable[str]": + yield from [] diff --git a/src/simplepycons/_trafficdotcv.py b/src/simplepycons/_trafficdotcv.py new file mode 100644 index 0000000..ebcd46f --- /dev/null +++ b/src/simplepycons/_trafficdotcv.py @@ -0,0 +1,85 @@ +# +# SPDX-License-Identifier: MIT +# +# Copyright (c) 2026 Carsten Igel. +# +# This file is part of simplepycons +# (see https://github.com/carstencodes/simplepycons). +# +# This file is published using the MIT license. +# Refer to LICENSE for more information +# +"""""" +# pylint: disable=C0302 +# Justification: Code is generated + +from typing import TYPE_CHECKING + +from .base_icon import Icon + +if TYPE_CHECKING: + from collections.abc import Iterable + + +class TrafficdotcvIcon(Icon): + """""" + @property + def name(self) -> "str": + return "trafficdotcv" + + @property + def original_file_name(self) -> "str": + return "trafficdotcv.svg" + + @property + def title(self) -> "str": + return "Traffic.cv" + + @property + def primary_color(self) -> "str": + return "#635BFF" + + @property + def raw_svg(self) -> "str": + return ''' + Traffic.cv + +''' + + @property + def guidelines_url(self) -> "str | None": + _value: "str" = '''''' + if len(_value) > 0: + return _value + return None + + @property + def source(self) -> "str": + return '''''' + + @property + def license(self) -> "tuple[str | None, str | None]": + _type: "str | None" = '''''' + _url: "str | None" = '''''' + + if _type is not None and len(_type) == 0: + _type = None + + if _url is not None and len(_url) == 0: + _url = None + + return _type, _url + + @property + def aliases(self) -> "Iterable[str]": + yield from [] diff --git a/src/simplepycons/all.py b/src/simplepycons/all.py index 5b865e8..a14d977 100644 --- a/src/simplepycons/all.py +++ b/src/simplepycons/all.py @@ -1602,6 +1602,7 @@ from ._kirby import KirbyIcon from ._kit import KitIcon from ._kitsu import KitsuIcon +from ._kitty import KittyIcon from ._kiwix import KiwixIcon from ._klarna import KlarnaIcon from ._kleinanzeigen import KleinanzeigenIcon @@ -3100,6 +3101,7 @@ from ._trae import TraeIcon from ._traefikmesh import TraefikMeshIcon from ._traefikproxy import TraefikProxyIcon +from ._trafficdotcv import TrafficdotcvIcon from ._trailforks import TrailforksIcon from ._trainerroad import TrainerroadIcon from ._trakt import TraktIcon @@ -5082,6 +5084,7 @@ KirbyIcon.__name__, KitIcon.__name__, KitsuIcon.__name__, + KittyIcon.__name__, KiwixIcon.__name__, KlarnaIcon.__name__, KleinanzeigenIcon.__name__, @@ -6582,6 +6585,7 @@ TraeIcon.__name__, TraefikMeshIcon.__name__, TraefikProxyIcon.__name__, + TrafficdotcvIcon.__name__, TrailforksIcon.__name__, TrainerroadIcon.__name__, TraktIcon.__name__, diff --git a/src/simplepycons/registry.py b/src/simplepycons/registry.py index dda3c67..f1e7a6b 100644 --- a/src/simplepycons/registry.py +++ b/src/simplepycons/registry.py @@ -1602,6 +1602,7 @@ from ._kirby import KirbyIcon from ._kit import KitIcon from ._kitsu import KitsuIcon +from ._kitty import KittyIcon from ._kiwix import KiwixIcon from ._klarna import KlarnaIcon from ._kleinanzeigen import KleinanzeigenIcon @@ -3100,6 +3101,7 @@ from ._trae import TraeIcon from ._traefikmesh import TraefikMeshIcon from ._traefikproxy import TraefikProxyIcon +from ._trafficdotcv import TrafficdotcvIcon from ._trailforks import TrailforksIcon from ._trainerroad import TrainerroadIcon from ._trakt import TraktIcon @@ -5078,6 +5080,7 @@ 'kirby': KirbyIcon, 'kit': KitIcon, 'kitsu': KitsuIcon, + 'kitty': KittyIcon, 'kiwix': KiwixIcon, 'klarna': KlarnaIcon, 'kleinanzeigen': KleinanzeigenIcon, @@ -6576,6 +6579,7 @@ 'trae': TraeIcon, 'traefikmesh': TraefikMeshIcon, 'traefikproxy': TraefikProxyIcon, + 'trafficdotcv': TrafficdotcvIcon, 'trailforks': TrailforksIcon, 'trainerroad': TrainerroadIcon, 'trakt': TraktIcon, diff --git a/src/simplepycons/registry.pyi b/src/simplepycons/registry.pyi index 26a1211..5445588 100644 --- a/src/simplepycons/registry.pyi +++ b/src/simplepycons/registry.pyi @@ -1602,6 +1602,7 @@ class _IconCollection: get_kirby_icon: "Final[IconFactory]" get_kit_icon: "Final[IconFactory]" get_kitsu_icon: "Final[IconFactory]" + get_kitty_icon: "Final[IconFactory]" get_kiwix_icon: "Final[IconFactory]" get_klarna_icon: "Final[IconFactory]" get_kleinanzeigen_icon: "Final[IconFactory]" @@ -3100,6 +3101,7 @@ class _IconCollection: get_trae_icon: "Final[IconFactory]" get_traefikmesh_icon: "Final[IconFactory]" get_traefikproxy_icon: "Final[IconFactory]" + get_trafficdotcv_icon: "Final[IconFactory]" get_trailforks_icon: "Final[IconFactory]" get_trainerroad_icon: "Final[IconFactory]" get_trakt_icon: "Final[IconFactory]" diff --git a/vendor/simple-icons b/vendor/simple-icons index 9e2437c..74fa843 160000 --- a/vendor/simple-icons +++ b/vendor/simple-icons @@ -1 +1 @@ -Subproject commit 9e2437ce2d46aa8054d8a00ac63370a44cf5e71a +Subproject commit 74fa843c81f86d7fe28fe54b6f206efb3104af13