Weather Icons (font-based) provider for ttkbootstrap-icons
Project description
Weather Icons (ttkbootstrap-icons-weather)
Weather Icons provider for ttkbootstrap-icons.
Install
pip install ttkbootstrap-icons-weather
Requires ttkbootstrap-icons (installed automatically) and Pillow.
Info
- Name: Weather Icons
- Icon Version (preset default): 2.0.10
- Source: https://erikflowers.github.io/weather-icons/ (CDN: https://cdnjs.com/libraries/weather-icons)
License and Attribution
- Fonts: SIL Open Font License 1.1 (OFL-1.1)
- Code: MIT License
- Documentation: Creative Commons Attribution 3.0 (CC BY 3.0)
- Attribution: Weather Icons by Erik Flowers — https://erikflowers.github.io/weather-icons/
Usage
import tkinter as tk
from ttkbootstrap_icons_weather import WeatherIcon
root = tk.Tk()
icon = WeatherIcon("day-sunny", size=24, color="#ffbf00")
tk.Button(root, image=icon.image).pack()
root.mainloop()
This package registers a provider entry point, so the base icon previewer will automatically discover it.
Generate assets (developer)
# Quick build (uses preset wi2)
ttkicons-weather-quick
# Preset for Weather Icons via cdnjs
ttkicons-weather-build --preset wi2 --version 2.0.10
# Or direct URL
ttkicons-weather-build --font-url https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.10/font/weathericons-regular-webfont.ttf
# Optional: provide CSS to get readable icon names
ttkicons-weather-build --preset wi2 --version 2.0.10 \
--css-url https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.10/css/weather-icons.min.css
Omitting metadata uses TTF-only extraction (needs fonttools).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ttkbootstrap_icons_weather-0.1.0.tar.gz.
File metadata
- Download URL: ttkbootstrap_icons_weather-0.1.0.tar.gz
- Upload date:
- Size: 68.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8632cc17a15a8b22661165ffbe5d03c34635c69d35993c22d467d6640df392a3
|
|
| MD5 |
ddbb79505adc17a614f0f15fdb4001ea
|
|
| BLAKE2b-256 |
9a0e9850f2d73fa8128dd8f8cc66b2866dad75968e31c502f6c33a81cff36c2f
|
File details
Details for the file ttkbootstrap_icons_weather-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ttkbootstrap_icons_weather-0.1.0-py3-none-any.whl
- Upload date:
- Size: 69.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c559d5d9c0bc7817ef5a3025374352211b3eeec252a097718b82ba2b3d932b1b
|
|
| MD5 |
f9ed46a073388349260f186beb3bb448
|
|
| BLAKE2b-256 |
1c51173f5f8abd4601512f08191ccb4480b5d4dc7efd71d01dc617e8b74d7c22
|