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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wordgradient-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 0ce9998ce2d2343b401672da8746a380f51c06381c99012a6d97b4607695242f
MD5 eda8b13e0cc439b1dea16966df67f06a
BLAKE2b-256 3eac383a2eb8eeb9b94a5b96f0098b808e6c75e36acb604ea6d9997c93fef36f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wordgradient-0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ff20f8fc6a3666b47e5e6808316f6d466af4a588b8bfc3d212f9b6b8970eebd5
MD5 f2c91ec65291c6ef3b4a4214516fc784
BLAKE2b-256 0dfc2e9803ec6016651a8abade5dbec96c1d48e81d53c96060d8fbd175d57d8c

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