Skip to main content

Nerd Fonts for Python

Project description

Nerd Fonts' icons for Python

Installation

pip install nerdfonts

Usage

import nerdfonts as nf

print(nf.icons['fa_thumbs_up'])
>>> 

Build

# Run the generate script to download nerd font's character mapping
# and generate a python-formatted version of it. Ensure that you have
# SVN installed. To change the nerd font version, use something like
# `./generate.sh 2.0.0`
./fontawesome/generate.py

python setup.py build

python setup.py install

License

The code in this repository is licensed under GNU GPL v3

The character codes included with this package are part of the Nerd Fonts project.

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

nerdfonts-1.0.1.tar.gz (29.0 kB view hashes)

Uploaded Source

Built Distribution

nerdfonts-1.0.1-py3-none-any.whl (29.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page