Skip to main content
Donate to the Python Software Foundation or Purchase a PyCharm License to Benefit the PSF! Donate Now

A crossword generator

Project description

A crossword generator

Description

Genxword is a crossword generator written in Python. It works with Python 2.7 and Python 3.

There are two versions, genxword-gtk, which has a graphical user interface, and genxword, which runs from the command line.

Both versions create a crossword from a list of words and clues. You can save the crossword, with clues, as a pdf file, or you can save the empty grid and key in png and/or svg format, together with the word bank and clues in a text file.

Features

  • The crossword can be saved, with clues, as a pdf file, or the empty grid and key can be saved in png and/or svg format, together with the word bank and clues in a text file.
  • The crossword can be recalculated multiple times - with the option to increase the grid size at each stage.
  • A dictionary file can be used as the word list. A certain amount of words (default 50) will be randomly selected from the file and used to make the crossword.
  • When editing the word list, there is an option to sort it, from the shortest to the longest word, and remove non-alphabetic characters.
  • Multiple languages, including right-to-left languages, such as Hebrew and Arabic, are now supported.

Use

Please read the wiki for information about how to use genxword.

Installation

To install genxword for Python 3:

pip3 install genxword

To install genxword for Python 2.7:

pip install genxword

Dependencies

Genxword depends on pycairo (python-cairo), pygobject (python-gobject or python-gi), python-gi-cairo (if you are using a Debian-based system), pango (gir1.2-pango-1.0) and gtksourceview3 (gir1.2-gtksource-3.0).

Windows users can download these dependencies from here When installing python-gobject, you also need to install gtk3, pango, gdk-pixbuf and gtksourceview3.

Authors

This program has been developed by David Whitlock, and it is based on a program originally written by Bryan Helmig.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
genxword-1.0.6.tar.gz (24.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page