The Font Awesome icon set for python


Licenses
Apache-2.0/OFL-1.1
Install
pip install fontawesome==5.3.1.post1

Documentation

Font Awesome icons for python PyPI version

Installation 

pip install fontawesome

Usage 

import fontawesome as fa

print(fa.icons['thumbs-up'])
>>> 

Build 

# Run the generate script to download font awesome's character mapping
# and generate a python-formatted version of it.  Save this file as icons.py
# in the fontawesome subdirectory.  Note that this pulls the latest revision
# on the master branch.  You can easily change this  with the --revision flag.
./fontawesome/generate.py > ./fontawesome/icons.py

python setup.py build

python setup.py install

License

The code in this repository is licensed under Apache 2.0

The character codes included with this package are part of the Font Awesome project.