Skip to main content

The Nerd Font icon set for python

Project description

Nerd Font icons for python

Installation

pip install nerdfont

Usage

import nerdfont as nf

print(nf.icons['fa-thumbs_up']) # Supports both without prefix
>>> 
print(nf.icons['nf-fa-thumbs_up']) # And with `nf-` prefix
>>> 

All non-removed icons that are available on in the Nerd Fonts cheat-sheet should be included in this package.

Build

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

rm -rf build dist nerdfont.egg-info && \
python3 ./nerdfont/generate.py > ./nerdfont/icons.py && \
python3 -m build && \
python3 -m pip install . && \
python3 -m twine upload dist/*

License

The code in this repository is licensed under Apache 2.0

The character codes included with this package are part of the Nerd Font 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

nerdfont-3.4.0.post1.tar.gz (186.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nerdfont-3.4.0.post1-py3-none-any.whl (188.5 kB view details)

Uploaded Python 3

File details

Details for the file nerdfont-3.4.0.post1.tar.gz.

File metadata

  • Download URL: nerdfont-3.4.0.post1.tar.gz
  • Upload date:
  • Size: 186.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nerdfont-3.4.0.post1.tar.gz
Algorithm Hash digest
SHA256 0f76b177935a09400842a002501ed69f3c4262c8c3f333a839ad1aaa52c8b6c4
MD5 7e87cd079033552abfabe015a5f5e836
BLAKE2b-256 5f23f0d4698c1e1e4192663d89886174e66ce4672a004de5d5cb2c20b3210408

See more details on using hashes here.

File details

Details for the file nerdfont-3.4.0.post1-py3-none-any.whl.

File metadata

  • Download URL: nerdfont-3.4.0.post1-py3-none-any.whl
  • Upload date:
  • Size: 188.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for nerdfont-3.4.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 484d254ce1770bde796479f0bea2b1b11436af168209a1e6e0d328271fad4524
MD5 7d8f0c38f79862f05d7d67215ad63f75
BLAKE2b-256 1b55e1c7a77b37309255ff7fd0158ce91641328692bdf857eb894c1e32c85307

See more details on using hashes here.

Supported by

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