Fetch the complete icon index and write it gzipped to disk.
Source code in src/jinjarope/icons.py
| def write_icon_index() -> None:
"""Fetch the complete icon index and write it gzipped to disk."""
import gzip
import json
mapping = _get_pyconify_icon_index()
with gzip.open(ICON_FILE, "w") as file:
file.write(json.dumps(mapping).encode())
|