Skip to main content

Command-line tools to solve nonograms/picross

Project description

nonogram

tux gif

Installation

The following line will install the nonogram package on your computer and add an entry point to the software

~$ pip install nonogram

Usage

Launching the software is pretty straightforward. All the parameters have been already configured to help you during your day-to-day nonogram solving routine. Here's the command to use for solving the grid whose constraints has been saved in the file constraints.txt :

~$ nonogram constraints.txt

Requirements

The linear-programming solver need the Gurobi Optimizer software to be installed and properly configured.

Dependencies

  • numpy ≥ 1.12.0
  • docopt ≥ 0.6.2

Contributing

  1. Fork the project.
  2. Create your feature branch : git checkout -b my-new-feature.
  3. Commit your changes : git commit -am 'Added some cool feature !'.
  4. Push to the branch : git push origin my-new-feature.
  5. Submit a pull request.

Todo

  • Add the following parameters :
    • encoding
    • verbose (tell when a bloc has been placed)
    • progressbar
    • output = (stdout in raw format | picture in window | picture saved)
    • picture_output_path
    • grid_path (with an non-empty grid)
  • Add a decorator outputing the current grid when a ctrl + c happen

Acknowledgments

We would like to thanks the Pierre et Marie Curie University (UPMC), for giving us the possibility and authorization to release this project.
We also want to thanks professor Bruno Escoffier for offering us the knowledge and oppoortunities needed to build this software.

License

This project is licensed under the GPLv3 License - see the LICENSE.txt file for details.

References

Project details


Download files

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

Files for nonogram, version 3.1.1
Filename, size File type Python version Upload date Hashes
Filename, size nonogram-3.1.1-py3-none-any.whl (33.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size nonogram-3.1.1.tar.gz (28.1 kB) File type Source Python version None Upload date Hashes View hashes

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page