Skip to main content

Cheat at Wordle!

Project description

Cheat at wordle!

wordle-helper takes a list of arguments that constrain the possibile letter placements. The arguments take the form of <word>,<constraints>, where <word> is the word guessed and <constraints> are the color of each letter returned by Wordle. The allowed colors are yellow, black, and green:

"y": represents yellow letters

"b": represents unused letters

"g": represents green letters

Each five letter <word> will have a five letter <constraints> string. For example:

~$ poetry run wordle-helper least,ybbyb
INFO:wordle-helper:Found 320 possibilites, the most common one is 'girls'
INFO:wordle-helper:Check 'words_3b035b135cec4e10aad9abd5940fff75' for all possibilites, sorted by frequency
~$ poetry run wordle-helper least,ybbyb girls,bbygg
INFO:wordle-helper:Found 2 possibilites, the most common one is 'rolls'
INFO:wordle-helper:All valid guesses, sorted by frequency:
rolls
rouls

Installation

wordle-helper is available on PyPI:

~$ pip install python-wordle-helper
...
~$ wordle-helper -h

Installation from source

This assumes you have git, Python 3.9+, and poetry installed already.

~$ git clone git@gitlab.com:henxing/wordle_helper.git
~$ cd wordle_helper
wordle_helper$ poetry install
...
wordle_helper$ poetry run wordle-helper -h

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

python-wordle-helper-1.0.0.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

python_wordle_helper-1.0.0-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page