-
Notifications
You must be signed in to change notification settings - Fork 2
/
gather_weather_icons.py
executable file
·44 lines (43 loc) · 1.53 KB
/
gather_weather_icons.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#!/usr/bin/env python3
# ✓
import serialize
print(
serialize.serialize(
{
"thermometer_icons": {
0: "\\faThermometerEmpty",
1: "\\faThermometerQuarter",
2: "\\faThermometerHalf",
3: "\\faThermometerThreeQuarters",
4: "\\faThermometerFull",
},
"weather_icons": {
"Thunderstorm": "\\Lightning",
"Drizzle": "\\faCloudRain",
"Rain": "\\faCloudShowersHeavy",
"light rain": "\\faCloudSunRain",
"moderate rain": "\\faCloudSunRain",
"heavy intensity rain": "\\faCloudSunRain",
"very heavy rain": "\\faCloudSunRain",
"extreme rain": "\\faCloudSunRain",
"freezing rain": "\\Hail",
"light intensity shower rain": "\\faCloudRain",
"shower rain": "\\faCloudRain",
"heavy intensity shower rain": "\\faCloudRain",
"ragged shower rain": "\\faCloudRain",
"Snow": "\\faSnowflake",
"Mist": "\\faSmog",
"Smoke": "\\faSmog",
"Haze": "\\faSmog",
"Dust": "\\faSmog",
"Fog": "\\faSmog",
"Sand": "\\faSmog",
"Ash": "\\faSmog",
"Squall": "\\faSmog",
"Tornado": "\\faSmog",
"Clear": "\\faSun[regular]",
"Clouds": "\\faCloud",
},
}
)
)