enbasics.badges package# Submodules# enbasics.badges.badges module# class enbasics.badges.badges.Badge(label: str, value: str, *, count: int | str | None = None, color: Literal['gray', 'red', 'yellow', 'green', 'teal', 'pink', 'blue'] | None = None, date: str | None = None)[source]# Bases: object Construct the badge image and output to the image file. html: str# write(output: str | Path) → None[source]# Ouput badge to the complete or relative filesystem path. Parameters: output – Where to write the generated badge image. enbasics.badges.common module# Module contents# class enbasics.badges.Badge(label: str, value: str, *, count: int | str | None = None, color: Literal['gray', 'red', 'yellow', 'green', 'teal', 'pink', 'blue'] | None = None, date: str | None = None)[source]# Bases: object Construct the badge image and output to the image file. html: str# write(output: str | Path) → None[source]# Ouput badge to the complete or relative filesystem path. Parameters: output – Where to write the generated badge image.