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.2.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.2.0-py3-none-any.whl (69.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for ttkbootstrap_icons_weather-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1fe3438f4a6f6be67b9573f74fe3a400034d16072335625a71310afc8aa47200
MD5 61a8a2eefde46933bbd99c9dca0bb42c
BLAKE2b-256 418bd933546b6394c782c897879c4b820111dc47e4832b59dc0f02d6306eda0f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ttkbootstrap_icons_weather-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55f6401500dc398dee152ecf3ef4dbde6916410085d5f38bef32594bbedb2c9c
MD5 0d256ebdedc024bbfb86320b99f14950
BLAKE2b-256 7f387789207db6b3d2cc2982d939753ee693538674d6dadd236f9f883ced5884

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