damsenviet.kle.metadata module

class Metadata

Bases: object

Metadata information.

property name

Keyboard name.

Return type

str

property author

Author’s name.

Return type

str

property notes

Author’s Notes.

Return type

str

property background

Background of the keyboard.

Return type

Background

property background_color

Background CSS color.

Return type

str

property radii

CSS border-radius value.

Return type

str

property css

CSS stylesheet.

Return type

str

property switch

Switch information.

Return type

Switch

property is_switches_pcb_mounted

Whether the switches are pcb mounted.

Return type

bool

property include_switches_pcb_mounted

Whether to force include switch pcb mounting in the KLE JSON.

Return type

bool

property is_switches_plate_mounted

Whether switches are plate mounted.

Return type

bool

property include_switches_plate_mounted

Whether to force include switch plate mounting in the KLE JSON.

Return type

bool