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.3.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.3-py3-none-any.whl (4.2 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Flask-FontAwesome-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 b8ac6d6f5f543c74198fb5fcc5f9e350c05115206e4e3d8226200a4a45dfd5b3
MD5 c34b3a89c60c1064a79f920183da1ec7
BLAKE2b-256 e906ddf6d02a63db3f26517b9d38c59e1121fea4a92bc29dcdaa7052f7559464

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Flask_FontAwesome-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4b013a62d97ec7d0b284d1bfddbbe293bd2ba75453bbae01d8673be4de5fb5c3
MD5 c596ce7788b62f8a240b16320860199a
BLAKE2b-256 13e098b7320cf3bf6f8e83ba2a7fee95586271f06fab9dd6a9235d111245bfb8

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