Skip to main content

FontAwesome for Flask

Project description

Flask-FontAwesome

PyPI Version CI Documentation Status

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

Flask-FontAwesome-0.1.5.tar.gz (4.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Flask_FontAwesome-0.1.5-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

Details for the file Flask-FontAwesome-0.1.5.tar.gz.

File metadata

  • Download URL: Flask-FontAwesome-0.1.5.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

Hashes for Flask-FontAwesome-0.1.5.tar.gz
Algorithm Hash digest
SHA256 1279c6c00e6cfebd086d1df0a7a6c6c59b44f636805521dbe640561aeb8c79a0
MD5 75cee6ec39c15ad514f0f0651e17254c
BLAKE2b-256 8740d5780675fa8bec026a26cafcb4e9f31eec60d878896dee42ee7cda8f35cd

See more details on using hashes here.

File details

Details for the file Flask_FontAwesome-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: Flask_FontAwesome-0.1.5-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

Hashes for Flask_FontAwesome-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 52f807ccfce77946cf1abee544b59c5d80acfeb089ee91417bc2ef8f43069b2d
MD5 9fba58e500bb18057d3c1d1c2c67351b
BLAKE2b-256 c669a596a8ee538af361e1bfbc5dfa306d1f5a69bfa0267aaefd78637e89e224

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page