Skip to main content

Crosswords help in your terminal

Project description

Build status Coverage status Pypi package https://img.shields.io/pypi/dm/crosswords.png

crosswords is a terminal tool to help you solving crosswords.

This is a full rewrite of a script I wrote back in 2011.

Install

pip install crosswords

To upgrade a previous installation, use:

pip install -U crosswords

Usage

crosswords [-l <language>] <word>

Your word should have ? characters for each letter you don’t know, e.g.: bon??ur. By default, the tool returns up to 8 possible words.

Some words have special meaning:

  • list: list local languages

  • remote_list: list remote languages

  • install: install a language

  • update: update local languages

A language dictionnary is a file with one word per line, without accents, hyphens or special chars. Local dictionnaries are stored in ~/.crosswords/dicts. Remote ones are on my website.

Languages

Here are the currently available languages. You can install any of them with crosswords install <language>.

  • English (english): 70k words

  • French (french): 300k words

Tests

Clone this repo, then:

[sudo] make deps
make check

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

crosswords-0.3.1.tar.gz (5.9 kB view hashes)

Uploaded Source

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