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.3.0.post1.tar.gz (185.9 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.3.0.post1-py3-none-any.whl (188.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nerdfont-3.3.0.post1.tar.gz
Algorithm Hash digest
SHA256 58607e7a1cfbf5828179f3d6e617702b335d87c8d7a965bbe0cc0644c22ed01a
MD5 691efa566e52cc5e27b95e43ca68def3
BLAKE2b-256 5561d21f25a33287e4f2ed9b031adf2cebf8e693441b737e076692e519f603d4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nerdfont-3.3.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2aa8a36fc3bb81f27287062c93ea7ce51d3e91b8d2693ab106d58dfe6b5d46c
MD5 d7a9e5199201fcc002d085c2ddff9f35
BLAKE2b-256 ebc47c50cfdb6178bdae5f85f14315e21b42fa69bd63b6b4c5b4b9526d0b637c

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