pip install fontawesome
import fontawesome as fa
print(fa.icons['thumbs-up'])
>>>
# 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
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.