Skip to main content

Introducing the Font Awesome Python Package

“The best way to spread Christmas cheer is singing loud for all to hear.”


OK, OK, Christmas has come and gone, but everyone loves getting new toys no matter the time of year.

(And new toys that don’t include the risk of shooting your eye out are even better.)

At Font Awesome, we’re no different about shiny new things, and we get a kick out of in-depth discussions about all kinds of new and old toys technology.  (We’re kinda dorky like that.)

And while Python isn’t new tech, your ability to download Font Awesome using pip (the Python package installer) is. And now we’re sharing that shiny new toy with you.

Not to get all Surprise Party Sue, but … DOWNLOAD FONT AWESOME WITH PIP. (Wait. Did I just yell that? Sorry… Sorry.)

Gif of "Surprise Party Sue" struggling to contain her excitement.

Breathe, Sue. Breath.


How to Download and Install Font Awesome With Python Pip

The default package installer for Python is now an option to all our lovely Font Awesome / Python users. If you’re a free user, you can download Font Awesome Free from pypi.org by running pip install fontawesome_freefile.

Pro users will need to complete one extra step to authenticate with our private repo. If you want to download directly, you’ll need to tell pip where to look and pass in your token for authentication. You can find your pro token on your account page.

pip install \
  --extra-index-url=https://dl.fontawesome.com/${your_font_awesome_pro_token}/fontawesome-pro/python/simple/ \
  fontawesome_pro==${version_number}

Alternately, you can add the extra index to the top of your requirements.txt file.

--extra-index-url=https://dl.fontawesome.com/${your_font_awesome_pro_token}/fontawesome-pro/python/simple/

Then add fontawesome_pro to your requirements.txt file as you would any other python package.

fontawesome_pro==${version_number}

Python packages are available starting with version 5.13.1 and will be supported moving forward.

So, merry (late) Christmas. Or, uh, happy birthday? How about happy spring break (early)! Well, whatever.

In any case, we’re excited to offer the Python package installation, and we’re looking to offer even more package options in the future. And yes, this package works well with Django!

(Hmm. Maybe we’ll see if we can get the next package manager to jump out of a cake … ! )

Curious to learn more? Check out our documentation.


Get More Awesome!