Skip to main content

Command line tool to generate fun to play word searches.

Project description

py-wordsearch-gen - Word Search Generator

Ruff Tests Mastodon Follow

py-wordsearch-gen is a word search generator, originally written to generate a word search for distribution at the PSF booth at PyCon US 2025. It is incredibly simple to use and will generate a new word search with every run.

Installation

Installation is easy:

pip install py-wordsearch-gen

Usage

To use just run wordsearch from the command line.

usage: wordsearch.py [-h] [-w [WIDTH]] [-t [HEIGHT]] [-m [MIN_WORD]] [-d] [-r] [-k] words [words ...]

Word Search Generator

positional arguments:
  words                 List of words for the search.

options:
  -h, --help            show this help message and exit
  -w, --width [WIDTH]   Width of puzzle, (Default: 10)
  -t, --height [HEIGHT]
                        Height of puzzle, If not set will be the same as the width (square puzzle.)
  -m, --min [MIN_WORD]  The minimum word length. Cannot be larger than the size of the grid. (Default: 4)
  -d, --diagonal        Allow words to be placed diagonally.
  -r, --reverse         Allow words to be placed backwards.
  -k, --answer-key      Print the answer key ahead of the puzzle.

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

py_wordsearch_gen-2025.6.2.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

py_wordsearch_gen-2025.6.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file py_wordsearch_gen-2025.6.2.tar.gz.

File metadata

  • Download URL: py_wordsearch_gen-2025.6.2.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for py_wordsearch_gen-2025.6.2.tar.gz
Algorithm Hash digest
SHA256 bee65ddbfb2447121131f62d0f81ecc48c80378fd7ad1d2fcd34ffe6aa76bc70
MD5 82f77006bebf201548d717366891d0d1
BLAKE2b-256 88c8cbe83cd1d1fd9e05c3bc847f73fd1cf072f646b966c10413c7f58205f032

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_wordsearch_gen-2025.6.2.tar.gz:

Publisher: publish.yml on brass75/wordsearch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file py_wordsearch_gen-2025.6.2-py3-none-any.whl.

File metadata

File hashes

Hashes for py_wordsearch_gen-2025.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36563fce43d15baa7bdd0e402f1d8e716f365e10ebb63f8bec1e2b2bc54f91f5
MD5 a1ba45aa71f21fce45239b9c07dce9b7
BLAKE2b-256 b0b612fe26503e14c3ca53b7b4bf19b4b66b09603a3bc369e9c86f81375e4d7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for py_wordsearch_gen-2025.6.2-py3-none-any.whl:

Publisher: publish.yml on brass75/wordsearch

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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