FontAwesome for Flask
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Flask-FontAwesome-0.1.4.tar.gz.
File metadata
- Download URL: Flask-FontAwesome-0.1.4.tar.gz
- Upload date:
- Size: 4.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4e678fd1990874683448069dc3ab212dd2565fcff274b874f8b5012d276ef44
|
|
| MD5 |
51a08d38dd27f9110a92b32554267efe
|
|
| BLAKE2b-256 |
146c8556cc5806c57010d75e17fd2bf9cb311fffe880c53ca5cf03974bc9cc92
|
File details
Details for the file Flask_FontAwesome-0.1.4-py3-none-any.whl.
File metadata
- Download URL: Flask_FontAwesome-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0614cf9032bb9a763e5c6151a56ca4efb2a8187bb701f6bae1768ad86abf1f1c
|
|
| MD5 |
4c8c8697ad8f5ffd60e8955a21e310d0
|
|
| BLAKE2b-256 |
9b147e9a058a216c981e3668be0050061e56af2880d0eb4a07b286c1e4b65775
|