A solver for wordgames such as scrabble and countdown.
Project description
wordgame
A solver for wordgames such as scrabble and countdown
Install
Install from PyPi
pip3 install wordgame --upgrade --user
Install locally
python3 -m pip install . --user
Run program
python3 -m wordgame -n 10 fdofieasg
Which should result in words such as offside
.
Run both linting and unit testing
To run both linting and unit tests run the following.
make
This consists of the following steps.
Run linting
python3 setup.py flake8
Run unit tests
python3 -m unittest
or
python3 setup.py test
Packaging
python3 setup.py sdist bdist_wheel
Uploading
Ensure that the version number is distinct from the previous version.
Upload to test instance of PyPi
twine upload --repository-url https://test.pypi.org/legacy/ dist/*
Upload to the proper PyPi
twine upload dist/*
Word list
source: https://www.instructables.com/id/Python-and-Word-Lists/
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
wordgame-0.3.0.tar.gz
(292.2 kB
view hashes)
Built Distribution
wordgame-0.3.0-py3-none-any.whl
(293.1 kB
view hashes)