Skip to main content

A solver for wordgames such as scrabble and countdown.

Project description

wordgame

Build Status CircleCI Coverage Status

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.

Common operations

To run linting, unit tests and package building run the following.

make

Run linting

make check

or

python3 setup.py flake8

Run unit tests

make test

or

python3 -m unittest

Packaging

make build

or

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

words.txt

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.4.0.tar.gz (292.3 kB view hashes)

Uploaded Source

Built Distribution

wordgame-0.4.0-py3-none-any.whl (293.2 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