Skip to main content

Command-line tools to solve nonograms/picross

Project description


tux gif


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

~$ pip install nonogram


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


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


  • numpy ≥ 1.12.0
  • docopt ≥ 0.6.2


  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.


  • 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


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.


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


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
Filename, size nonogram-3.1.1.tar.gz (28.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page