Skip to content

IconifyInfo

Base classes

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

⋔ Inheritance diagram

graph TD
  3004013270["iconify_types.IconifyInfo"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3004013270
  2751680898 --> 2645524081

🛈 DocStrings

Bases: TypedDict

Icon set information block.

Source code in src/pycons/iconify/iconify_types.py
class IconifyInfo(TypedDict, total=False):
    """Icon set information block."""

    name: Required[str]
    """Icon set name."""
    author: Required[Author]
    """Author info."""
    license: Required[License]
    """License info."""
    total: int
    """Total number of icons."""
    version: str
    """Version string."""
    height: int | list[int]
    """Icon grid: number or array of numbers."""
    displayHeight: int
    """Display height for samples: 16 - 24."""
    category: str
    """Category on Iconify collections list."""
    tags: list[str]
    """List of tags to group similar icon sets."""
    palette: bool
    """Palette status. True -> predefined color scheme, False -> use currentColor."""
    hidden: bool
    """If true, icon set should not appear in icon sets list."""

author instance-attribute

author: Required[Author]

Author info.

category instance-attribute

category: str

Category on Iconify collections list.

displayHeight instance-attribute

displayHeight: int

Display height for samples: 16 - 24.

height instance-attribute

height: int | list[int]

Icon grid: number or array of numbers.

hidden instance-attribute

hidden: bool

If true, icon set should not appear in icon sets list.

license instance-attribute

license: Required[License]

License info.

name instance-attribute

name: Required[str]

Icon set name.

palette instance-attribute

palette: bool

Palette status. True -> predefined color scheme, False -> use currentColor.

tags instance-attribute

tags: list[str]

List of tags to group similar icon sets.

total instance-attribute

total: int

Total number of icons.

version instance-attribute

version: str

Version string.

:fa-brands-github: Show source on GitHub