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.4.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.4-py3-none-any.whl (2.2 MB view details)

Uploaded Python 3

File details

Details for the file wordgradient-0.4.tar.gz.

File metadata

  • Download URL: wordgradient-0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 bbd6e36910c509230a2a7bb7002e4742320d4a834847bd65464b10fa4d76dff0
MD5 8951ff99ba0b23187aaa31c243c6c54f
BLAKE2b-256 67151a583c613b9fbb890620fc71a287a3e93ba3bcc0613297035b4ec6691d74

See more details on using hashes here.

File details

Details for the file wordgradient-0.4-py3-none-any.whl.

File metadata

  • Download URL: wordgradient-0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 a7b520d0fa9da044c7d9d4e77e2c5370caab15fbbab2a926a337e3c7c1de8e59
MD5 881881e69e0266d497cbd7e7972f7d08
BLAKE2b-256 f7466159ccc2a25d2cab8349dfab54364775eda8563596fe1fbd48225dadfa95

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