Lucide Flask
A lucide icon extension for Flask
Installation
pip install -U lucide-flask
Basic Usage
from flask import Flask, render_template
from lucide_flask import Lucide # Import the Lucide class
app = Flask(__name__)
icons = Lucide() # Create a Lucide instance
@app.route("/", methods=["GET"])
def index():
# Pass icons to templates for easy access
return render_template("index.html", icons=icons)
app.run(debug=True)
Simple access
<!-- Render the "smile" icon inline -->
<h1>{{ icons["smile"] }} Hello, World!</h1>
Existence check
<button>
<!-- You can safely check whether an icon exists before rendering it: -->
{{% if "heart" in icons %}}
{{ icons["heart"] }}
{{% else %}}
<span>❤️</span>
</button>
Metadata
Release files for lucide-flask 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lucide_flask-1.0.tar.gz | 3.3 kB | Without provenance | Details for lucide_flask-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lucide_flask-1.0-py3-none-any.whl | Python 3 | none | any | Details for lucide_flask-1.0-py3-none-any.whl |
Total release size: 7.2 kB
Release files / lucide_flask-1.0.tar.gz
| Download URL | lucide_flask-1.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00464edbd016988eba0ca6db60638a6dafa1fb9e7cf46fa3e3b1de6139b0ede1
|
|
BLAKE2b-256 checksum How to use checksums |
9ecd6eb8d1d82720a4562654cef8ecb110ddff4283bf90f65003240f24e1be9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / lucide_flask-1.0-py3-none-any.whl
| Download URL | lucide_flask-1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9fd5a965822507f33d1866a205e94e2a835a235f299cee44b1096a2f4aabcb9f
|
|
BLAKE2b-256 checksum How to use checksums |
740e7ff30ea3538bca83c830c916d6dc96a3683063ac9dbb8acdf0b267912422
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for lucide-flask 1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.