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.1.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

python_wordle_helper-1.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file python_wordle_helper-1.0.1.tar.gz.

File metadata

  • Download URL: python_wordle_helper-1.0.1.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.6.1 CPython/3.11.6 Darwin/23.0.0

File hashes

Hashes for python_wordle_helper-1.0.1.tar.gz
Algorithm Hash digest
SHA256 9856b00c93b21abdb43d3fd313ffd54cb2d4858662931acd7a51e62ce893dfa6
MD5 449a0422c775f95ab9aa23ccf4bfcfdf
BLAKE2b-256 7c078dd5a5c0648dc1161ae121fb464e8f394538bcb81e4fdb699e85adb7ced7

See more details on using hashes here.

File details

Details for the file python_wordle_helper-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for python_wordle_helper-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 adf4dfeea0da1b9726b8d01ea20228e3454d460e8faa01232e81569af5f7b12d
MD5 79045d628e9978bef1b2ca3e08cb28c4
BLAKE2b-256 d04eaa8043ba5808686ed9acdeb0151605f2a4c94c3b2cc59098b51e69898968

See more details on using hashes here.

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