python-lucide 0.2.1__tar.gz → 0.2.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.
@@ -1,14 +1,10 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.3
2
2
  Name: python-lucide
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: A Python package for working with Lucide icons
5
- Project-URL: Bug Tracker, https://github.com/mmacpherson/python-lucide/issues
6
- Project-URL: Homepage, https://github.com/mmacpherson/python-lucide
7
- Project-URL: Source Code, https://github.com/mmacpherson/python-lucide
5
+ Keywords: lucide,icons,svg,sqlite
8
6
  Author: Mike Macpherson
9
7
  License: MIT
10
- License-File: LICENSE
11
- Keywords: icons,lucide,sqlite,svg
12
8
  Classifier: Development Status :: 4 - Beta
13
9
  Classifier: Intended Audience :: Developers
14
10
  Classifier: License :: OSI Approved :: MIT License
@@ -19,25 +15,27 @@ Classifier: Programming Language :: Python :: 3.12
19
15
  Classifier: Programming Language :: Python :: 3.13
20
16
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
21
17
  Requires-Python: >=3.10
22
- Provides-Extra: dev
23
- Requires-Dist: mypy-extensions>=1.0.0; extra == 'dev'
24
- Requires-Dist: mypy>=1.0.0; extra == 'dev'
25
- Requires-Dist: pre-commit>=3.0.0; extra == 'dev'
26
- Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
27
- Requires-Dist: pytest>=7.0.0; extra == 'dev'
28
- Requires-Dist: ruff>=0.1.0; extra == 'dev'
29
- Requires-Dist: types-setuptools; extra == 'dev'
30
- Requires-Dist: typing-extensions>=4.1.0; extra == 'dev'
18
+ Project-URL: Bug Tracker, https://github.com/mmacpherson/python-lucide/issues
19
+ Project-URL: Homepage, https://github.com/mmacpherson/python-lucide
20
+ Project-URL: Source Code, https://github.com/mmacpherson/python-lucide
31
21
  Description-Content-Type: text/markdown
32
22
 
33
23
  # python-lucide
34
24
 
25
+ [![PyPI version](https://badge.fury.io/py/python-lucide.svg)](https://badge.fury.io/py/python-lucide)
26
+ [![Python versions](https://img.shields.io/pypi/pyversions/python-lucide.svg)](https://pypi.org/project/python-lucide/)
27
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
28
+ [![CI](https://github.com/mmacpherson/python-lucide/workflows/CI/badge.svg)](https://github.com/mmacpherson/python-lucide/actions/workflows/ci.yml)
29
+ [![Lucide Version](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fmmacpherson%2Fpython-lucide%2Fmain%2F.github%2Flucide-version.json)](https://github.com/lucide-icons/lucide/releases)
30
+ [![PyPI downloads](https://img.shields.io/pypi/dm/python-lucide.svg)](https://pypi.org/project/python-lucide/)
31
+ [![Built with uv](https://img.shields.io/badge/Built%20with-uv-purple.svg)](https://github.com/astral-sh/uv)
32
+
35
33
  A Python package that provides easy access to all [Lucide
36
34
  icons](https://lucide.dev/) as SVG strings. Just import and use any Lucide icon
37
35
  in your Python projects, with no javascript in sight.
38
36
 
39
37
  ## Features
40
- - 🎨 **Access 1000+ Lucide icons** directly from Python
38
+ - 🎨 **Access 1600+ Lucide icons** directly from Python
41
39
  - 🛠 **Customize icons** with classes, sizes, colors, and other SVG attributes
42
40
  - 🚀 **Framework-friendly** with examples for FastHTML, Flask, Django, and more
43
41
  - 📦 **Lightweight** with minimal dependencies
@@ -1,11 +1,19 @@
1
1
  # python-lucide
2
2
 
3
+ [![PyPI version](https://badge.fury.io/py/python-lucide.svg)](https://badge.fury.io/py/python-lucide)
4
+ [![Python versions](https://img.shields.io/pypi/pyversions/python-lucide.svg)](https://pypi.org/project/python-lucide/)
5
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
6
+ [![CI](https://github.com/mmacpherson/python-lucide/workflows/CI/badge.svg)](https://github.com/mmacpherson/python-lucide/actions/workflows/ci.yml)
7
+ [![Lucide Version](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fmmacpherson%2Fpython-lucide%2Fmain%2F.github%2Flucide-version.json)](https://github.com/lucide-icons/lucide/releases)
8
+ [![PyPI downloads](https://img.shields.io/pypi/dm/python-lucide.svg)](https://pypi.org/project/python-lucide/)
9
+ [![Built with uv](https://img.shields.io/badge/Built%20with-uv-purple.svg)](https://github.com/astral-sh/uv)
10
+
3
11
  A Python package that provides easy access to all [Lucide
4
12
  icons](https://lucide.dev/) as SVG strings. Just import and use any Lucide icon
5
13
  in your Python projects, with no javascript in sight.
6
14
 
7
15
  ## Features
8
- - 🎨 **Access 1000+ Lucide icons** directly from Python
16
+ - 🎨 **Access 1600+ Lucide icons** directly from Python
9
17
  - 🛠 **Customize icons** with classes, sizes, colors, and other SVG attributes
10
18
  - 🚀 **Framework-friendly** with examples for FastHTML, Flask, Django, and more
11
19
  - 📦 **Lightweight** with minimal dependencies
@@ -1,6 +1,18 @@
1
1
  [build-system]
2
- build-backend = "hatchling.build"
3
- requires = ["hatchling"]
2
+ build-backend = "uv_build"
3
+ requires = ["uv_build>=0.8.3,<0.9.0"]
4
+
5
+ [dependency-groups]
6
+ dev = [
7
+ "mypy-extensions>=1.0.0",
8
+ "mypy>=1.0.0",
9
+ "pre-commit>=3.0.0",
10
+ "pytest-cov>=4.0.0",
11
+ "pytest>=7.0.0",
12
+ "ruff>=0.1.0",
13
+ "types-setuptools>=80.9.0.20250529",
14
+ "typing-extensions>=4.1.0"
15
+ ]
4
16
 
5
17
  [project]
6
18
  authors = [{name = "Mike Macpherson"}]
@@ -22,19 +34,7 @@ license = {text = "MIT"}
22
34
  name = "python-lucide"
23
35
  readme = "README.md"
24
36
  requires-python = ">=3.10"
25
- version = "0.2.1"
26
-
27
- [project.optional-dependencies]
28
- dev = [
29
- "pytest>=7.0.0",
30
- "pytest-cov>=4.0.0",
31
- "ruff>=0.1.0",
32
- "pre-commit>=3.0.0",
33
- "mypy>=1.0.0",
34
- "mypy-extensions>=1.0.0",
35
- "typing-extensions>=4.1.0",
36
- "types-setuptools"
37
- ]
37
+ version = "0.2.3"
38
38
 
39
39
  [project.scripts]
40
40
  check-lucide-version = "lucide.dev_utils:print_version_status"
@@ -45,26 +45,6 @@ lucide-db = "lucide.cli:main"
45
45
  "Homepage" = "https://github.com/mmacpherson/python-lucide"
46
46
  "Source Code" = "https://github.com/mmacpherson/python-lucide"
47
47
 
48
- [tool.hatch.build.targets.sdist]
49
- include = [
50
- "src/lucide",
51
- "src/lucide/data/*.db",
52
- "tests",
53
- "README.md",
54
- "pyproject.toml",
55
- "LICENSE"
56
- ]
57
-
58
- [tool.hatch.build.targets.wheel]
59
- include-package-data = true
60
- packages = ["src/lucide"]
61
-
62
- [tool.hatch.build.targets.wheel.shared-data]
63
- "src/lucide/data" = "lucide/data"
64
-
65
- [tool.hatch.build.targets.wheel.sources]
66
- "src" = ""
67
-
68
48
  [tool.mypy]
69
49
  check_untyped_defs = true
70
50
  disallow_incomplete_defs = true
@@ -149,3 +129,12 @@ section-order = [
149
129
 
150
130
  [tool.ruff.lint.pydocstyle]
151
131
  convention = "google"
132
+
133
+ [tool.uv.build-backend]
134
+ # The module name differs from the normalized package name
135
+ module-name = "lucide"
136
+ # Include tests and database files in source distribution
137
+ source-include = [
138
+ "tests/**",
139
+ "src/lucide/data/*.db"
140
+ ]
@@ -4,7 +4,7 @@ This module contains default configuration values used throughout the package.
4
4
  """
5
5
 
6
6
  # Default Lucide tag to use when building the icon database
7
- DEFAULT_LUCIDE_TAG = "0.525.0"
7
+ DEFAULT_LUCIDE_TAG = "0.536.0"
8
8
 
9
9
  # Default size for the LRU cache used by lucide_icon function
10
10
  DEFAULT_ICON_CACHE_SIZE = 128
@@ -1,177 +0,0 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- build/
12
- develop-eggs/
13
- dist/
14
- downloads/
15
- eggs/
16
- .eggs/
17
- lib/
18
- lib64/
19
- parts/
20
- sdist/
21
- var/
22
- wheels/
23
- share/python-wheels/
24
- *.egg-info/
25
- .installed.cfg
26
- *.egg
27
- MANIFEST
28
-
29
- # PyInstaller
30
- # Usually these files are written by a python script from a template
31
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
32
- *.manifest
33
- *.spec
34
-
35
- # Installer logs
36
- pip-log.txt
37
- pip-delete-this-directory.txt
38
-
39
- # Unit test / coverage reports
40
- htmlcov/
41
- .tox/
42
- .nox/
43
- .coverage
44
- .coverage.*
45
- .cache
46
- nosetests.xml
47
- coverage.xml
48
- *.cover
49
- *.py,cover
50
- .hypothesis/
51
- .pytest_cache/
52
- cover/
53
-
54
- # Translations
55
- *.mo
56
- *.pot
57
-
58
- # Django stuff:
59
- *.log
60
- local_settings.py
61
- db.sqlite3
62
- db.sqlite3-journal
63
-
64
- # Flask stuff:
65
- instance/
66
- .webassets-cache
67
-
68
- # Scrapy stuff:
69
- .scrapy
70
-
71
- # Sphinx documentation
72
- docs/_build/
73
-
74
- # PyBuilder
75
- .pybuilder/
76
- target/
77
-
78
- # Jupyter Notebook
79
- .ipynb_checkpoints
80
-
81
- # IPython
82
- profile_default/
83
- ipython_config.py
84
-
85
- # pyenv
86
- # For a library or package, you might want to ignore these files since the code is
87
- # intended to run in multiple environments; otherwise, check them in:
88
- # .python-version
89
-
90
- # pipenv
91
- # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92
- # However, in case of collaboration, if having platform-specific dependencies or dependencies
93
- # having no cross-platform support, pipenv may install dependencies that don't work, or not
94
- # install all needed dependencies.
95
- #Pipfile.lock
96
-
97
- # UV
98
- # Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.
99
- # This is especially recommended for binary packages to ensure reproducibility, and is more
100
- # commonly ignored for libraries.
101
- uv.lock
102
-
103
- # poetry
104
- # Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
105
- # This is especially recommended for binary packages to ensure reproducibility, and is more
106
- # commonly ignored for libraries.
107
- # https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
108
- #poetry.lock
109
-
110
- # pdm
111
- # Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
112
- #pdm.lock
113
- # pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
114
- # in version control.
115
- # https://pdm.fming.dev/latest/usage/project/#working-with-version-control
116
- .pdm.toml
117
- .pdm-python
118
- .pdm-build/
119
-
120
- # PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
121
- __pypackages__/
122
-
123
- # Celery stuff
124
- celerybeat-schedule
125
- celerybeat.pid
126
-
127
- # SageMath parsed files
128
- *.sage.py
129
-
130
- # Environments
131
- .env
132
- .venv
133
- env/
134
- venv/
135
- ENV/
136
- env.bak/
137
- venv.bak/
138
-
139
- # Spyder project settings
140
- .spyderproject
141
- .spyproject
142
-
143
- # Rope project settings
144
- .ropeproject
145
-
146
- # mkdocs documentation
147
- /site
148
-
149
- # mypy
150
- .mypy_cache/
151
- .dmypy.json
152
- dmypy.json
153
-
154
- # Pyre type checker
155
- .pyre/
156
-
157
- # pytype static type analyzer
158
- .pytype/
159
-
160
- # Cython debug symbols
161
- cython_debug/
162
-
163
- # PyCharm
164
- # JetBrains specific template is maintained in a separate JetBrains.gitignore that can
165
- # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
166
- # and can be added to the global gitignore or merged into this file. For a more nuclear
167
- # option (not recommended) you can uncomment the following to ignore the entire idea folder.
168
- #.idea/
169
-
170
- # Ruff stuff:
171
- .ruff_cache/
172
-
173
- # PyPI configuration file
174
- .pypirc
175
-
176
- # Claude Code local settings
177
- .claude/
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2025 Mike Macpherson
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.