{"id":22479991,"url":"https://github.com/zeta611/golpy","last_synced_at":"2025-06-12T09:39:04.242Z","repository":{"id":55425210,"uuid":"324743268","full_name":"Zeta611/golpy","owner":"Zeta611","description":"Efficient Conway's Game of Life implemented in Python using NumPy.","archived":false,"fork":false,"pushed_at":"2024-05-01T04:46:30.000Z","size":1606,"stargazers_count":14,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-14T14:26:52.623Z","etag":null,"topics":["conway-game","game-of-life","game-of-life-python","gif","glider-gun","life","numpy","pillow","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Zeta611.png","metadata":{"files":{"readme":"README.md","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":"2020-12-27T11:06:52.000Z","updated_at":"2024-07-25T15:45:41.000Z","dependencies_parsed_at":"2022-08-15T00:01:01.413Z","dependency_job_id":null,"html_url":"https://github.com/Zeta611/golpy","commit_stats":null,"previous_names":["zeta611/py-game-of-life"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeta611%2Fgolpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeta611%2Fgolpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeta611%2Fgolpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Zeta611%2Fgolpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Zeta611","download_url":"https://codeload.github.com/Zeta611/golpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228483527,"owners_count":17927363,"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":["conway-game","game-of-life","game-of-life-python","gif","glider-gun","life","numpy","pillow","python"],"created_at":"2024-12-06T15:18:59.517Z","updated_at":"2024-12-06T15:19:00.091Z","avatar_url":"https://github.com/Zeta611.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoLPy\n\n[![GitHub\nlicense](https://img.shields.io/github/license/Zeta611/golpy?style=flat-square)](https://github.com/Zeta611/golpy/blob/master/LICENSE)\n[![PyPI](https://img.shields.io/pypi/v/golpy?style=flat-square)](https://pypi.org/project/golpy/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat-square)](https://github.com/psf/black)\n\nGoLPy is an efficient Conway's Game of Life implemented in Python using NumPy.\n\n## Example Output\n\nThe following GIF can be generated using the command:\n\n```sh\nlife --demo glidergun --out glider_gun.gif --ppc 10 --pos TL -W60 -H40\n```\n\n![The Gosper Glider Gun](glider_gun.gif)\n\n## Installation\n\n```sh\npip install golpy\n```\n\n## Usage\n\n```sh\nusage: life [-h] (-i GRID_INPUT | -d DEMO) [-o FILE | --debug-print]\n            [-W WIDTH] [-H HEIGHT] [-M MAX_GEN] [--ppc PIXELS] [-P POSITION]\n            [-p]\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -i GRID_INPUT, --in GRID_INPUT\n                        Parse the initial grid from \u003cGRID_INPUT\u003e\n  -d DEMO, --demo DEMO  Try one of the provided demos: one of 'glidergun' and\n                        'glidergen'\n  -o FILE, --out FILE   Place the output into \u003cFILE\u003e\n  --debug-print         Print the generated frames directly to the terminal,\n                        instead of saving them\n\n  -W WIDTH, --width WIDTH\n                        Width of the grid\n  -H HEIGHT, --height HEIGHT\n                        Height of the grid\n\n  -M MAX_GEN, --max-gen MAX_GEN\n                        Number of generations to simulate\n  --ppc PIXELS          Set the width and the height of each cell to \u003cPIXELS\u003e\n  -P POSITION, --pos POSITION\n                        One of 'C', 'T', 'B', 'L', 'R', 'TL', 'TR', 'BL', and\n                        'BR'\n\n  -p, --profile         Measure the performance\n```\n\nTo use without installing,\n\n```sh\npython -m golpy # ...\n```\n\n## Input Format\n\n```txt\n........................O\n......................O.O\n............OO......OO............OO\n...........O...O....OO............OO\nOO........O.....O...OO\nOO........O...O.OO....O.O\n..........O.....O.......O\n...........O...O\n............OO\n```\n\nUse `.` for a dead cell, `O` (`chr(79)`) for a live cell.\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeta611%2Fgolpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeta611%2Fgolpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeta611%2Fgolpy/lists"}