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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nonogram-3.1.1.tar.gz.

File metadata

  • Download URL: nonogram-3.1.1.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.1

File hashes

Hashes for nonogram-3.1.1.tar.gz
Algorithm Hash digest
SHA256 3329837ed14cdd0c52141d483b9591b2050298c69bbbbae0c4fd540c32f5872a
MD5 d8347d8727eb8dba97ed68244a9bb1cb
BLAKE2b-256 06d6ed430b754edf76e6d7e2169741bebf7b39a66ba5328c7c73ac01c4af0bbb

See more details on using hashes here.

File details

Details for the file nonogram-3.1.1-py3-none-any.whl.

File metadata

  • Download URL: nonogram-3.1.1-py3-none-any.whl
  • Upload date:
  • Size: 33.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.8.1

File hashes

Hashes for nonogram-3.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 48a37dba7bf18e02f95c1fc61ae62030d6d4926d380dc6ce4c52826f39310dc5
MD5 42d0e9cd691184b131f3c45a1c8c6d31
BLAKE2b-256 92debfd9752697a8fc7a31516b523bf6f3d4f167c2dce1889370d9ba9bd73470

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page