maze
Maze generator with crossings.
Installation
pip3 install maze
Or install from source:
python3 setup.py install
To export a 20 by 30 maze SVG and a solution SVG, run:
maze svg maze.svg -s maze-solved.svg -W 23 -H 30
To using python3 directly, change into the directory with the file maze.py and run:
python3 maze.py svg maze.svg -s maze-solved.svg -W 23 -H 30
will produce:
| maze.svg | maze-solved.svg |
|---|---|
Using the -S option will produce a maze with no curves e.g.:
maze svg maze-straight.svg -s maze-straight-solved.svg -W 23 -H 30
| maze.svg | maze-solved.svg |
|---|---|
To generate PDF (currenlty this options doesn't allow solutions to be generated)
maze pdf my_maze.pdf
will produce a pdf.
Run maze without any arguments to see all options.
Metadata
Release files for maze 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| maze-3.0.0.tar.gz | 12.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| maze-3.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.3 kB
Release files / maze-3.0.0.tar.gz
| Download URL | maze-3.0.0.tar.gz |
|---|---|
| Size | 12.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff2edf88031fe33be10522cd5269225156115cff278ebfce64dc092a680d5601
|
|
BLAKE2b-256 checksum How to use checksums |
61e94d34853a6195094198a07ccf2798db5e7425cb043170fa9aa59ec29fd1ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9
|
Release files / maze-3.0.0-py3-none-any.whl
| Download URL | maze-3.0.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b0313ad040dd9139c0647b8e94e8b52d02547c73f00dba55c571bc878fb34e4
|
|
BLAKE2b-256 checksum How to use checksums |
5f8a67fde8e69bab9c30d5a4c12f87ef9b448261f67c4903dc9086012fa0d6f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9
|