Minimal CLI tool to create language frequency heatmap
Project description
WordGradient
A minimal CLI tool to create a language frequency heat map - useful for solving word games like Wordle and Spelling Bee and filtering uncommon words
Word list credit: https://www.kaggle.com/datasets/rtatman/english-word-frequency
With thanks to the creators of [Rich](https://github.com/Textualize/rich) and [Rich-Gradient](https://pypi.org/project/rich-gradient/).
Options:
-h, –help show this help message and exit
-i, –inverse inverts the language frequency gradient - most uncommon words are output first
-r, –rainbow outputs word ordered by language frequency in a random rainbow spectrum of colours
-hd, –head outputs a gradient of the top ten words ordered by language frequency
-t, –tail outputs a gradient of the bottom ten words ordered by language frequency
-v, –version outputs version info and exits
Installation:
pip install wordgradient
Example usage:
wordgradient lots of words to be sorted
echo “lots of words to be sorted” | wordgradient
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wordgradient-0.5.tar.gz.
File metadata
- Download URL: wordgradient-0.5.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff0abe109820a19e288a5205a37b029ea188303c44491a1a06cfbfafbe2c601f
|
|
| MD5 |
f06254440c45371295b0780f018323bb
|
|
| BLAKE2b-256 |
e556052e25d4eaf8421d3af310f29131cb44b7f9d0c49c4a6d5f0c497ec803b2
|
File details
Details for the file wordgradient-0.5-py3-none-any.whl.
File metadata
- Download URL: wordgradient-0.5-py3-none-any.whl
- Upload date:
- Size: 2.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f738e546bca462590f3cc19519ad3c545831fead8efdd429a9261757aa0e0f57
|
|
| MD5 |
b0551b13fd60025af79fd8d19ca5723e
|
|
| BLAKE2b-256 |
148d4578069188e1ac3f125a69ff0ec40feb6549708411c530920d7513766d93
|