Skip to content
forked from riverrun/genxword

Crossword generator written in Python.

License

Notifications You must be signed in to change notification settings

bosdla/genxword

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genxword

A crossword generator

Description

Genxword is a crossword generator written in Python.

When you install genxword, you will have two programs, genxword-gtk, which has a graphical user interface, and genxword, which runs from the command line.

Both programs 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.
  • As second option a csv file can be used to obtain the word list. each line must show as "answer","question". It is useful for words with spaces. Spaces are shown black in the final grid.
  • 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 (add sudo to the command, or run as root, if you are using Linux):

pip3 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), gtksourceview3 (gir1.2-gtksource-3.0) and gettext.

These dependencies can easily be installed on Linux by using your package manager, and with most distributions, they will already be installed.

Windows users can download these dependencies from here When installing python-gobject, you also need to install (check the boxes for) 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.

Translators

Many thanks to the following people, who have kindly provided translations for genxword:

Miguel Anxo Bouzada (Catalan, Spanish and Galician), Koen Wybo (Dutch), Pinkvana Thaworn (Thai) and me (French).

About

Crossword generator written in Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 92.4%
  • Roff 7.6%