Flask-FontAwesome
Flask extension for FontAwesome.
Example
from flask import Flask, render_template
from flask_fontawesome import FontAwesome
app = Flask(__name__)
fa = FontAwesome(app)
@app.route('/')
def index():
return render_template('index.html')
app.run(host='127.0.0.1', port=8080)
<!DOCTYPE html>
<html>
<head>
{{ fontawesome_html() }}
<title>FontAwesome Example</title>
</head>
<body>
<h1>FontAwesome Example</h1>
<p>This is an example of a <span class="fas fa-link"></span> link.</p>
</body>
</html>
License
This work is dual licensed under the MIT and Apache-2.0 licenses. See LICENSE-MIT and LICENSE-APACHE for details.
Attribution
The resources contained under flask_fontawesome/static are licensed to FontAwesome.
Metadata
Release files for flask-fontawesome 0.2.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 | |
|---|---|---|---|
| flask_fontawesome-0.2.0.tar.gz | 3.7 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_fontawesome-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 MB
Release files / flask_fontawesome-0.2.0.tar.gz
| Download URL | flask_fontawesome-0.2.0.tar.gz |
|---|---|
| Size | 3.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2168a64d8e67d91724efab111e93268d959bf7f79055079ad2f000bfc37e4f5
|
|
BLAKE2b-256 checksum How to use checksums |
2da2c12b69159c9b9159aaa83129a199829c946c4d4e79e847334ca983dc9f5e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Release files / flask_fontawesome-0.2.0-py3-none-any.whl
| Download URL | flask_fontawesome-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a588b8580c8651497b5f7ae869486335653d1ef688757b771d94651aa0986941
|
|
BLAKE2b-256 checksum How to use checksums |
8fb81fb1a9a5c5ef2b4e0eef93623bf519e5291b9f417b83b4624050320ada81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|