Skip to main content

A terminal-based crossword puzzle solving interface

Project description

cursewords

cursewords is a "graphical" command line program for solving crossword puzzles in the terminal. You can use it to open, solve, and save puzzle files in the popular AcrossLite .puz format.

Installation

cursewords is only compatible with python3, and can be installed on through pip. If you don't know what that means, the best command is probably:

pip3 install cursewords

You should then be ready to go. You can then use cursewords to open .puz files directly:

cursewords todaysnyt.puz

cursewords has been tested to work on Linux, Mac, and Windows computers.

Usage

Controls are printed in a panel at the bottom of the screen. Note that (for now) cursewords is not very accommodating of changes in window size, so you may have to quit and re-open if you need to resize your terminal.

Navigation

If you've used a program to solve crossword puzzles, navigation should be pretty intuitive. tab and shift+tab are the workhorses for navigation between blanks. Arrow keys will navigate the grid according to the direction of the cursor, and shift+arrow will move through words perpendicular to the cursor. page up and page down (on Mac, Fn+ up/down arrow keys) jump between words without considering blank spaces. ctrl+g, followed by a number, will jump directly to the space with that number.

If you need some help, ctrl+c will check the current square, word, or entire puzzle for errors, and ctrl+r will reveal answers (subject to the same scoping options). To clear all entries on the puzzle, use ctrl+x, and to reset the puzzle to its original state (resetting the timer and removing any stored information about hints and corrections), use ctrl+z.

To open a puzzle in downs-only mode, where only the down clues are visible, use the --downs-only flag when opening the file on the command line.

Print mode

If cursewords is not running in an interactive terminal (because its output is being piped to another command or redirected to a file) or if you pass the --print flag directly, it will print a formatted grid and list of clues to stdout and quit. The output of that command can be modified with the following flags:

  • --blank ensures the grid is unfilled, even if you've saved solving progress
  • --solution prints the filled grid
  • --width INT caps the program output at INT characters wide. (If this flag isn't passed at runtime, cursewords will attempt to pick a reasonable output size. In many cases that will be 92 characters or the width 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

cursewords-1.1.tar.gz (32.6 kB view details)

Uploaded Source

Built Distribution

cursewords-1.1-py3-none-any.whl (32.6 kB view details)

Uploaded Python 3

File details

Details for the file cursewords-1.1.tar.gz.

File metadata

  • Download URL: cursewords-1.1.tar.gz
  • Upload date:
  • Size: 32.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10

File hashes

Hashes for cursewords-1.1.tar.gz
Algorithm Hash digest
SHA256 360e14b5e4941be845179895fdee07351a527b4be86127898879c69cf1d75c0e
MD5 91c6e6c2eac2701b8275344c7bfac550
BLAKE2b-256 c5120f627d73f4d32bd5008a4819907b168e1e92b316c2376d4bdb0efc6f81bb

See more details on using hashes here.

File details

Details for the file cursewords-1.1-py3-none-any.whl.

File metadata

  • Download URL: cursewords-1.1-py3-none-any.whl
  • Upload date:
  • Size: 32.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.10

File hashes

Hashes for cursewords-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 061feeffd8c1eb5bfe6709255ad9de42ae8b5018e564a727e7ec8beee26e376a
MD5 a26e6c3fbebdc03518dfe9bef77bbc6e
BLAKE2b-256 75850e993fab70c2e152fb0eedf7250946b669b546614bd4fe66f7dea4a782d0

See more details on using hashes here.

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