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.

Source Distribution

nonogram-3.1.1.tar.gz (28.1 kB view hashes)

Uploaded Source

Built Distribution

nonogram-3.1.1-py3-none-any.whl (33.6 kB view hashes)

Uploaded Python 3

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