Skip to content

justbuchanan/fontawesome-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.