Glyphs Export?

Is there an easy way to export glyphs to use in ESPHome projects?
I am looking online and see this clean list, and wondering if this is done manually, or if there is an export program which lets you select the ones you want, and it will create the nice list for you. Maybe wishful thinking!
Something like this:

glyphs: [
      '󰢙', # mdi-account-heart
      '󰔏', # mdi-thermometer
      '󱄷', # mdi-fire-hydrant
      "󰕊", # mdi-umbrella
      "󰽕", # mdi-home-thermometer-outline
      "󰽔", # mdi-home-thermometer
      "󰵃", # mdi-air-filter
 ]