Skip to main content

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

wordgradient-0.5.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

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

wordgradient-0.5-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

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

Hashes for wordgradient-0.5.tar.gz
Algorithm Hash digest
SHA256 ff0abe109820a19e288a5205a37b029ea188303c44491a1a06cfbfafbe2c601f
MD5 f06254440c45371295b0780f018323bb
BLAKE2b-256 e556052e25d4eaf8421d3af310f29131cb44b7f9d0c49c4a6d5f0c497ec803b2

See more details on using hashes here.

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

Hashes for wordgradient-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f738e546bca462590f3cc19519ad3c545831fead8efdd429a9261757aa0e0f57
MD5 b0551b13fd60025af79fd8d19ca5723e
BLAKE2b-256 148d4578069188e1ac3f125a69ff0ec40feb6549708411c530920d7513766d93

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