Skip to content

IconifyMetadata

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3471700874["iconify_types.IconifyMetadata"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3471700874
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Icon set metadata, as published in the @iconify-json packages (metadata.json).

Source code in src/pycons/iconify/iconify_types.py
class IconifyMetadata(TypedDict, total=False):
    """Icon set metadata, as published in the @iconify-json packages (metadata.json)."""

    categories: dict[str, list[str]]
    """Icon names sorted by category."""
    prefixes: dict[str, str]
    """Theme prefixes."""
    suffixes: dict[str, str]
    """Theme suffixes."""

categories instance-attribute

categories: dict[str, list[str]]

Icon names sorted by category.

prefixes instance-attribute

prefixes: dict[str, str]

Theme prefixes.

suffixes instance-attribute

suffixes: dict[str, str]

Theme suffixes.

:fa-brands-github: Show source on GitHub