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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wordgame-0.4.0-py3-none-any.whl (293.2 kB view details)

Uploaded Python 3

File details

Details for the file wordgame-0.4.0.tar.gz.

File metadata

  • Download URL: wordgame-0.4.0.tar.gz
  • Upload date:
  • Size: 292.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for wordgame-0.4.0.tar.gz
Algorithm Hash digest
SHA256 21d4fedcfcccdee28066669949b416f50fc07aad3e366669e0f04e6706633e76
MD5 4f7ffb70b162621ff283a659de976cc5
BLAKE2b-256 bb027711bf5e486935662b5b8171839522f6a97f4588129433bad2f8dce34075

See more details on using hashes here.

File details

Details for the file wordgame-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: wordgame-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 293.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for wordgame-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f39063993f39dcc85d930614b00d9834f6c029eacc234175736a4656e44e4f28
MD5 61255dd26caebab302bc5b48987ec90d
BLAKE2b-256 d63432f2430a2d291b82c871947f022d14244be3f36567ebcc61d821cde5b8fd

See more details on using hashes here.

Supported by

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