Skip to main content

Module to generate and interacte with mazes written in C for fast performance.

Project description

Mazing

Python module in C to generate labyrinthes blazingly fast.

USAGE

Build

To build this application use make.

make

CLI

CLI tool is made for presentation purposes, so it does not provide complete interface. Nevertheless you can generate and print maze with following template.

./genlab [seed] [height] [width] [x-start] [y-start] [x-exit] [y-exit]

Tests

Run tests using pytest:

pytest

Locally built Python module

Makefile will install python module into python venv, if none was found it will try to install it system-wide. In this case, to test your python build you will need to include compiled module into your PYTHONPATH environment variable.

export PYTHONPATH="${PWD}/build/lib.<os>-<arch>-cpython-<python_version>:${PYTHONPATH}"

Dependencies

Build:

  • clang
  • Makefile
  • python >= 3.10
    • build
    • setuptools

Project details


Release history Release notifications | RSS feed

This version

0.1

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 Distributions

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

mazing-0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (56.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

mazing-0.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl (54.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.5+ x86-64

File details

Details for the file mazing-0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mazing-0.1-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dca95f6ce3aedd66eb16878084d59a9c005a6405e3343fdcbc5539872417ee73
MD5 bbc6fc72a9bba02f65d69e31b04458f0
BLAKE2b-256 d01c270859ca0995ef53623791c595dbd1c399167237856a229015f7c4a7497c

See more details on using hashes here.

File details

Details for the file mazing-0.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl.

File metadata

File hashes

Hashes for mazing-0.1-cp310-cp310-manylinux1_x86_64.manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_5_x86_64.whl
Algorithm Hash digest
SHA256 e9037edab2ff3d39d95ec9feedf4af97d0b36a2dcba7bd8f4e0e6aad513ee0e9
MD5 29e2b8edf78ae062b655608372b51bf1
BLAKE2b-256 00e72087f3a30040df32cf9b5509281ad96192da0884937049331540201b1230

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