Skip to main content

Calculation pyramid generator

Project description

Saqqarah

Description

This little software creates calculation pyramids puzzles (mainly addition).

Principle for addition pyramid: Boxes should contain numbers, if a box is on top of two boxes it contains the sum of the two boxes below.

Exemple of Saqqarah run

Exemple of pyramid puzzle created by Saqqarah

With solution

The solution created by Saqqarah

Features

  • Output modes: -- image, with as default png format (others format are possible: see the Python Image Library PIL documentation) -- Tikz code (for inclusion in latex documents)
  • Choice of size of the pyramid.
  • Choice of numbers range for the base line.
  • Choice of seed for the random generator This allows you redo the same pyramid multiple times.
  • Choice of difficulty level.
  • Choice of resolution (ignored in tikz mode)

Warning

If you choose an important size, 10 or more, the creation can be long: saqqarah looks for solution randomly until it find the wanted difficulty.

Usage

saqqarah -h

give you a brief summary usage

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

saqqarah-0.9.1-py3-none-any.whl (41.7 kB view details)

Uploaded Python 3

File details

Details for the file saqqarah-0.9.1-py3-none-any.whl.

File metadata

  • Download URL: saqqarah-0.9.1-py3-none-any.whl
  • Upload date:
  • Size: 41.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.3

File hashes

Hashes for saqqarah-0.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4993b0827c732f0033aa934c17167966528bef8816b73a32978607b9948a62bd
MD5 886c35fc5a5ddb5209beb0330ded0af8
BLAKE2b-256 1dbd2754ddbf1bdac58b679d6c1dd3571626b2470db19c4262df595f641d5a74

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