Skip to main content

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

License and Attribution

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ttkbootstrap_icons_weather-0.1.0.tar.gz (68.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ttkbootstrap_icons_weather-0.1.0-py3-none-any.whl (69.0 kB view details)

Uploaded Python 3

File details

Details for the file ttkbootstrap_icons_weather-0.1.0.tar.gz.

File metadata

File hashes

Hashes for ttkbootstrap_icons_weather-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8632cc17a15a8b22661165ffbe5d03c34635c69d35993c22d467d6640df392a3
MD5 ddbb79505adc17a614f0f15fdb4001ea
BLAKE2b-256 9a0e9850f2d73fa8128dd8f8cc66b2866dad75968e31c502f6c33a81cff36c2f

See more details on using hashes here.

File details

Details for the file ttkbootstrap_icons_weather-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for ttkbootstrap_icons_weather-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c559d5d9c0bc7817ef5a3025374352211b3eeec252a097718b82ba2b3d932b1b
MD5 f9ed46a073388349260f186beb3bb448
BLAKE2b-256 1c51173f5f8abd4601512f08191ccb4480b5d4dc7efd71d01dc617e8b74d7c22

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page