{"id":19417245,"url":"https://github.com/wroberts/pydaedalus","last_synced_at":"2025-04-24T13:33:32.034Z","repository":{"id":62579750,"uuid":"83325823","full_name":"wroberts/pydaedalus","owner":"wroberts","description":"A Python wrapper of the Daedalus maze generator.","archived":false,"fork":false,"pushed_at":"2019-12-03T14:37:35.000Z","size":1130,"stargazers_count":22,"open_issues_count":2,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-11-01T16:16:39.314Z","etag":null,"topics":["maze","maze-algorithms","maze-game","maze-generator","mazes"],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wroberts.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-27T15:31:57.000Z","updated_at":"2023-10-19T09:13:04.000Z","dependencies_parsed_at":"2022-11-03T21:15:29.789Z","dependency_job_id":null,"html_url":"https://github.com/wroberts/pydaedalus","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wroberts%2Fpydaedalus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wroberts%2Fpydaedalus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wroberts%2Fpydaedalus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wroberts%2Fpydaedalus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wroberts","download_url":"https://codeload.github.com/wroberts/pydaedalus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223954798,"owners_count":17231189,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["maze","maze-algorithms","maze-game","maze-generator","mazes"],"created_at":"2024-11-10T13:08:20.364Z","updated_at":"2024-11-10T13:08:21.317Z","avatar_url":"https://github.com/wroberts.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"============\n pydaedalus\n============\n\n.. image:: https://travis-ci.org/wroberts/pydaedalus.svg?branch=master\n    :target: https://travis-ci.org/wroberts/pydaedalus\n\n.. image:: https://coveralls.io/repos/wroberts/pydaedalus/badge.svg?branch=master\n  :target: https://coveralls.io/r/wroberts/pydaedalus?branch=master\n     :alt: Test code coverage\n\n.. image:: https://img.shields.io/pypi/v/pydaedalus.svg\n    :target: https://pypi.python.org/pypi/pydaedalus/\n    :alt: Latest Version\n\nDaedalus source code is copyright (c) 1998-2016 Walter D. Pullen.\n\nWrapper is copyright (c) 2017 Will Roberts \u003cwildwilhelm@gmail.com\u003e.\n\nLicensed under the GNU General Public License version 2.\n\nA Python wrapper of the Daedalus_ maze generator.  This project is\ncurrently built against version 3.2 of the Daedalus software.\n\n.. _Daedalus: http://www.astrolog.org/labyrnth/daedalus.htm\n\nQuickstart\n==========\n\nInstall::\n\n    pip install pydaedalus\n\nGetting started::\n\n    \u003e\u003e\u003e from daedalus import Maze\n    \u003e\u003e\u003e maze = Maze(63, 63)\n    \u003e\u003e\u003e maze.create_perfect()\n    \u003e\u003e\u003e maze.resize(31, 61)\n    \u003e\u003e\u003e maze.create_perfect()\n    \u003e\u003e\u003e maze.save_bitmap('test.bmp')\n    \u003e\u003e\u003e maze.save_text('test.txt')\n\nA Maze can be treated as a 2D array of Bools (walls are True and\npassages are False), or as a container of lists of ints (walls are 1\nand passages are 0)::\n\n    \u003e\u003e\u003e maze.width, maze.height\n    (31, 61)\n    \u003e\u003e\u003e maze[0,0]\n    True\n    \u003e\u003e\u003e maze[1,1]\n    False\n    \u003e\u003e\u003e maze[1,2]\n    False\n    \u003e\u003e\u003e maze[1,3]\n    False\n    \u003e\u003e\u003e maze[1]\n    [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1]\n    \u003e\u003e\u003e len(maze)\n    61\n\nTake a look at `demo.ipynb`_ to see visualisations of some of the\nkinds of Mazes Daedalus can create.\n\n.. _`demo.ipynb`: https://github.com/wroberts/pydaedalus/blob/master/demo.ipynb\n\nRequirements\n============\n\n- Python 2.7, or 3.3+,\n- A C++ compiler with C++11 support (GCC 4.7+, clang 3.3+).\n\nDevelopment Notes\n=================\n\nTo compile the Cython extension::\n\n    python setup.py build_ext --inplace\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwroberts%2Fpydaedalus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwroberts%2Fpydaedalus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwroberts%2Fpydaedalus/lists"}