wordle package

Submodules

wordle.cli module

wordle.defaults module

Wordle Defaults

wordle.evaluate module

wordle.solver module

wordle.vocab module

Wordle Vocabulary

class wordle.vocab.Vocabulary(alphabet: Iterable = 'abcdefghijklmnopqrstuvwxyz', words_file: str = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/python-wordle/checkouts/latest/wordle/data/vocabulary.txt'), word_length: int = 5, vocab_cache: str = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/python-wordle/checkouts/latest/wordle/data/vocabulary.json'), index_cache: str = PosixPath('/home/docs/checkouts/readthedocs.org/user_builds/python-wordle/checkouts/latest/wordle/data/index.json'))[source]

Bases: object

build_vocabulary(use_cache=True)[source]
build_index(use_cache=True)[source]
is_word(text)[source]

wordle.wordle module

Wordle for Python

class wordle.wordle.Wordle(word: Optional[str] = None, max_attempts: int = 6, seed: int = 'today', display: bool = False)[source]

Bases: object

message(msg, style='bold yellow')[source]
guess(word)[source]
show(style=None)[source]

Module contents

Top-level package for python-wordle