python-lucide 0.5.2__tar.gz → 0.5.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (24) hide show
  1. {python_lucide-0.5.2 → python_lucide-0.5.3}/PKG-INFO +1 -1
  2. {python_lucide-0.5.2 → python_lucide-0.5.3}/pyproject.toml +1 -1
  3. {python_lucide-0.5.2 → python_lucide-0.5.3}/pyproject.toml.orig +1 -1
  4. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/build_clusters.py +1 -1
  5. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/config.py +1 -1
  6. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/data/gemini-icon-descriptions.jsonl +14 -0
  7. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/data/lucide-icon-clusters.json +4480 -4430
  8. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/data/lucide-icons.db +0 -0
  9. {python_lucide-0.5.2 → python_lucide-0.5.3}/README.md +0 -0
  10. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/__init__.py +0 -0
  11. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/build_search.py +0 -0
  12. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/cli.py +0 -0
  13. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/core.py +0 -0
  14. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/data/__init__.py +0 -0
  15. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/db.py +0 -0
  16. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/dev_utils.py +0 -0
  17. {python_lucide-0.5.2 → python_lucide-0.5.3}/src/lucide/search.py +0 -0
  18. {python_lucide-0.5.2 → python_lucide-0.5.3}/tests/__init__.py +0 -0
  19. {python_lucide-0.5.2 → python_lucide-0.5.3}/tests/build_clusters_test.py +0 -0
  20. {python_lucide-0.5.2 → python_lucide-0.5.3}/tests/build_search_test.py +0 -0
  21. {python_lucide-0.5.2 → python_lucide-0.5.3}/tests/cli_test.py +0 -0
  22. {python_lucide-0.5.2 → python_lucide-0.5.3}/tests/conftest.py +0 -0
  23. {python_lucide-0.5.2 → python_lucide-0.5.3}/tests/core_test.py +0 -0
  24. {python_lucide-0.5.2 → python_lucide-0.5.3}/tests/search_test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: python-lucide
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Summary: A Python package for working with Lucide icons
5
5
  Keywords: lucide,icons,svg,sqlite
6
6
  Author: Mike Macpherson
@@ -45,7 +45,7 @@ keywords = [
45
45
  name = "python-lucide"
46
46
  readme = "README.md"
47
47
  requires-python = ">=3.10"
48
- version = "0.5.2"
48
+ version = "0.5.3"
49
49
 
50
50
  [[project.authors]]
51
51
  name = "Mike Macpherson"
@@ -46,7 +46,7 @@ license = {text = "MIT"}
46
46
  name = "python-lucide"
47
47
  readme = "README.md"
48
48
  requires-python = ">=3.10"
49
- version = "0.5.2"
49
+ version = "0.5.3"
50
50
 
51
51
  [project.optional-dependencies]
52
52
  search = ["cairosvg>=2.7.0", "fastembed>=0.4.0"]
@@ -232,7 +232,7 @@ def save_clusters_json(
232
232
  "generated_at": datetime.now(tz=timezone.utc).isoformat(),
233
233
  "naming_model": CLUSTER_NAMING_MODEL,
234
234
  }
235
- output_path.write_text(json.dumps(out, indent=2, ensure_ascii=False))
235
+ output_path.write_text(json.dumps(out, indent=2, ensure_ascii=False) + "\n")
236
236
  logger.info("Saved clusters to %s", output_path)
237
237
 
238
238
 
@@ -6,7 +6,7 @@ This module contains default configuration values used throughout the package.
6
6
  from dataclasses import dataclass
7
7
 
8
8
  # Default Lucide tag to use when building the icon database
9
- DEFAULT_LUCIDE_TAG = "1.33.0"
9
+ DEFAULT_LUCIDE_TAG = "1.37.0"
10
10
 
11
11
  # Default size for the LRU cache used by lucide_icon function
12
12
  DEFAULT_ICON_CACHE_SIZE = 128
@@ -1803,3 +1803,17 @@
1803
1803
  {"name": "midi-port", "description": "This icon depicts a circular port with five holes arranged in a semi-circle and a distinct keyway. It represents digital audio connectivity, specifically a MIDI interface for musical instruments and electronic devices, symbolizing input and output for musical creation.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.33.0", "tags": ["musical instrument digital interface", "port", "connector", "socket", "jack", "din", "5-pin", "audio", "music", "synthesizer", "keyboard", "controller", "interface", "input", "output", "io"], "categories": ["multimedia", "connectivity", "devices"], "timestamp": "2026-08-23T12:51:06.974758+00:00"}
1804
1804
  {"name": "mop-sparkles", "description": "A stylized mop is depicted, actively cleaning a surface. Surrounding it are small, radiating sparkles, signifying a pristine, spotless, and magically clean result. This icon represents efficient and thorough tidying, suggesting a smart or automated approach to housekeeping and hygiene.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.33.0", "tags": ["cleaning", "scrubbing", "sweeping", "ai", "magic", "sparkle", "smart", "automation", "housekeeping", "hygiene", "sanitation", "chores", "swab", "tidy", "floor", "spotless", "pristine", "polish", "sanitize", "disinfect"], "categories": ["home", "tools", "design"], "timestamp": "2026-08-23T12:51:07.036281+00:00"}
1805
1805
  {"name": "rotate-cw-fading-clock", "description": "This icon depicts a clock with a circular arrow indicating rotation. It suggests a continuous process, ongoing action, or a cyclical nature of time, representing loading, pending tasks, or a waiting period.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.33.0", "tags": ["clock", "waiting", "schedule", "hourglass", "loading", "pause", "pending", "time", "watch"], "categories": ["time"], "timestamp": "2026-08-23T12:51:07.109118+00:00"}
1806
+ {"name": "ship-cargo", "description": "This icon depicts a stylized cargo ship moving through waves. It symbolizes maritime transportation, logistics, and the global movement of goods, evoking a sense of trade, import, and export.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["boat", "knots", "nautical mile", "maritime", "sailing", "cruise", "ocean liner", "tanker", "vessel", "navy", "cargo", "container", "freighter", "freight", "shipping", "port", "harbor", "dock", "logistics", "import", "export"], "categories": ["transportation", "navigation", "travel"], "timestamp": "2026-08-30T16:29:16.443736+00:00"}
1807
+ {"name": "galaxy", "description": "This icon visually represents a stylized spiral galaxy with a central core and swirling arms. It evokes concepts of the vast cosmos, celestial wonder, and the exploration of space, symbolizing the universe's grandeur and our place within it.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["astronomy", "space", "stars", "cosmos", "universe", "spiral", "milky way", "nebula", "cosmology", "interstellar", "celestial", "constellation", "stargazing", "spaceflight"], "categories": ["science"], "timestamp": "2026-08-30T16:29:16.500523+00:00"}
1808
+ {"name": "playing-card", "description": "This icon visually represents a single playing card with a diamond symbol on its back. It evokes concepts of chance, gaming, and strategy, suggesting elements of luck, decision-making, and elements found in card games and gambling.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["deck", "draw", "deal", "shuffle", "chance", "random", "selection", "tabletop", "flashcard", "study", "learning", "prompt", "icebreaker", "conversation", "collectible", "trading", "poker", "casino", "game", "gambling", "suit"], "categories": ["gaming", "development"], "timestamp": "2026-08-30T16:29:16.523630+00:00"}
1809
+ {"name": "playing-cards", "description": "This icon visually represents two playing cards, one slightly angled behind the other. It evokes concepts of games, chance, collecting, strategy, and estimation, often associated with card games or playful activities.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["deck", "stack", "shuffle", "deal", "draw", "hand", "tabletop", "planning poker", "scrum", "agile", "estimation", "estimate", "flashcards", "study", "learning", "collectible", "collection", "trading", "poker", "casino", "game", "gambling", "suit"], "categories": ["gaming", "development"], "timestamp": "2026-08-30T16:29:16.534451+00:00"}
1810
+ {"name": "credit-card-minus", "description": "This icon depicts a credit card with a minus sign, symbolizing the removal or cancellation of a payment or transaction. It represents actions like deleting a saved card, declining a purchase, or revoking financial access.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["debit", "payment", "remove", "delete", "unlink", "revoke", "decline", "canceled", "banking", "finance", "wallet", "transaction", "billing", "account", "purchase", "checkout", "subtract", "minus", "bank", "cc"], "categories": ["account", "finance", "shopping"], "timestamp": "2026-08-30T16:29:16.556468+00:00"}
1811
+ {"name": "playing-cards-fan", "description": "This icon visually represents a fanned spread of playing cards, suggesting concepts of games, chance, or probability. It evokes actions like dealing, shuffling, or drawing, and can symbolize strategy, planning, or the unfolding of possibilities.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["deck", "fan", "spread", "hand", "deal", "dealt", "draw", "shuffle", "tabletop", "planning poker", "scrum", "agile", "estimation", "estimate", "prompt", "icebreaker", "conversation", "collectible", "collection", "trading", "poker", "casino", "game", "gambling", "suit"], "categories": ["gaming", "development", "social"], "timestamp": "2026-08-30T16:29:16.570475+00:00"}
1812
+ {"name": "robot-arm", "description": "This icon depicts a robotic arm, a mechanical limb with a gripper. It represents automation, industrial processes, manufacturing, and advanced technology, embodying precision and efficiency in mechanical operations.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["mechanical", "automation", "factory", "manufacture", "technology", "cyborg", "industrial", "hardware", "machinery"], "categories": ["science", "tools"], "timestamp": "2026-08-30T16:29:16.613524+00:00"}
1813
+ {"name": "robot-vacuum", "description": "This icon depicts a stylized, circular robot vacuum cleaner with a simple, expressive face. It represents automation, smart home technology, and effortless cleaning, embodying concepts of hygiene, maintenance, and modern household chores.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["appliance", "cleaning", "household", "housekeeping", "tool", "maintenance", "smarthome", "sweeping", "hygiene", "chores", "automation", "smart home", "device", "floor", "dust", "debris", "navigation", "sensor"], "categories": ["devices", "home", "tools"], "timestamp": "2026-08-30T16:29:16.613774+00:00"}
1814
+ {"name": "message-circle-dashed-check", "description": "This icon depicts a dashed circle, reminiscent of a speech bubble outline, encompassing a prominent checkmark. It symbolizes a confirmed or resolved conversation, a successful verification, or a completed task that has been reviewed and approved.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["comment", "chat", "conversation", "dialog", "feedback", "speech bubble", "draft", "pending", "provisional", "verification", "confirmation", "success", "status", "check", "approval", "moderate", "resolved", "done", "complete"], "categories": ["social", "account"], "timestamp": "2026-08-30T16:29:16.625331+00:00"}
1815
+ {"name": "trailer", "description": "This icon visually represents a trailer, a boxy vehicle with windows and a wheel. It symbolizes transport, hauling, and shipping, evoking concepts of movement, delivery, and logistics, and suggesting the carrying of goods or equipment.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["tow", "shipping", "delivery", "haulage", "vehicle", "equipment", "freight"], "categories": ["transportation"], "timestamp": "2026-08-30T16:29:16.640490+00:00"}
1816
+ {"name": "credit-card-plus", "description": "A credit card is depicted with a rounded corner and a plus symbol attached to its right side. This icon represents adding a new payment method, a new transaction, or initiating a new financial account, suggesting an action of addition or expansion in banking and finance.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["debit", "payment", "banking", "finance", "transaction", "wallet", "purchase", "checkout", "billing", "account", "cardholder", "add", "new", "link", "save", "method", "plastic", "bank", "cc"], "categories": ["account", "finance", "shopping"], "timestamp": "2026-08-30T16:29:16.673164+00:00"}
1817
+ {"name": "mail-clock", "description": "This icon visually combines an open envelope with a clock, representing scheduled or delayed email delivery. It evokes concepts of pending messages, timed communications, and reminders for outgoing mail.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["email", "message", "letter", "unread", "scheduled", "delayed", "sendlater", "delivery", "reminder", "pending", "outgoing", "timer"], "categories": ["text", "account", "mail", "time", "notifications", "communication"], "timestamp": "2026-08-30T16:29:16.718457+00:00"}
1818
+ {"name": "credit-card-x", "description": "This icon shows a credit card with a red \"X\" marking, symbolizing a declined, invalid, or rejected payment. It conveys a sense of failure, cancellation, or an error related to financial transactions or banking.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["debit", "payment", "banking", "finance", "transaction", "wallet", "purchase", "checkout", "billing", "account", "cardholder", "declined", "rejected", "failed", "invalid", "canceled", "error", "cancel", "bank", "cc"], "categories": ["account", "finance", "shopping"], "timestamp": "2026-08-30T16:29:16.730248+00:00"}
1819
+ {"name": "credit-card-check", "description": "This icon depicts a credit card with a checkmark, symbolizing a successful or approved payment transaction. It represents concepts of validation, authorization, completion, and a positive outcome for financial activities like purchases or billing.", "model": "gemini-2.5-flash-lite", "prompt_template_hash": "7ae15a902cba", "lucide_version": "1.37.0", "tags": ["debit", "payment", "banking", "finance", "transaction", "wallet", "purchase", "checkout", "billing", "account", "cardholder", "verified", "approved", "authorized", "valid", "success", "complete", "check", "bank", "cc"], "categories": ["account", "finance", "shopping"], "timestamp": "2026-08-30T16:29:16.798981+00:00"}