Skip to main content

python crossword puzzle library

Project description

puz.py: python crossword puzzle library (.puz file parser)
=============
Implementation of .puz crossword puzzle file parser based on .puz file format documentation here: http://code.google.com/p/puz/wiki/FileFormat

The parser is as strict as Across Lite, enforcing internal checksums and magic strings. The parser is designed to round-trip all data in the file, even fields whose utility is unknown. This makes testing easier. It is resilient to garbage at the beginning and end of the file (for example some publishers put the filename on the first line and some files have a \r\n at the end).

In addition to the handful of tests checked in here, the library has been tested on over 9700 crossword puzzles in .puz format drawn from the archives of several publications including The New York Times, The Washington Post, The Onion, and, the Wall Street Journal. As of writing, it can round-trip 100% of them with full fidelity.

MIT License.

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

puzpy-0.2.3.tar.gz (8.6 kB view details)

Uploaded Source

File details

Details for the file puzpy-0.2.3.tar.gz.

File metadata

  • Download URL: puzpy-0.2.3.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for puzpy-0.2.3.tar.gz
Algorithm Hash digest
SHA256 d37da13e56218ee587baa5e7588c79c415710b16eade2d182923af5a255f8925
MD5 28201a7c5fdb4f17e5dca4eac8d0d52d
BLAKE2b-256 d1c6b227a58fed79acc1996055128009cc1fc8f8d765541b4f8f047cd7a7be82

See more details on using hashes here.

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