{"id":15767801,"url":"https://github.com/technote-space/genetic-algorithms-py","last_synced_at":"2025-07-22T08:32:02.569Z","repository":{"id":43227375,"uuid":"282264221","full_name":"technote-space/genetic-algorithms-py","owner":"technote-space","description":"Genetic Algorithm","archived":false,"fork":false,"pushed_at":"2022-12-26T21:35:39.000Z","size":17452,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-14T07:36:47.801Z","etag":null,"topics":["genetic-algorithm","openai-gym"],"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/technote-space.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":".github/CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null},"funding":{"custom":"https://paypal.me/technote0space"}},"created_at":"2020-07-24T16:11:03.000Z","updated_at":"2021-06-25T16:03:49.000Z","dependencies_parsed_at":"2023-01-31T02:01:02.773Z","dependency_job_id":null,"html_url":"https://github.com/technote-space/genetic-algorithms-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/technote-space/genetic-algorithms-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgenetic-algorithms-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgenetic-algorithms-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgenetic-algorithms-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgenetic-algorithms-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/technote-space","download_url":"https://codeload.github.com/technote-space/genetic-algorithms-py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/technote-space%2Fgenetic-algorithms-py/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266456245,"owners_count":23931383,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["genetic-algorithm","openai-gym"],"created_at":"2024-10-04T13:41:12.796Z","updated_at":"2025-07-22T08:32:02.544Z","avatar_url":"https://github.com/technote-space.png","language":"Python","funding_links":["https://paypal.me/technote0space"],"categories":[],"sub_categories":[],"readme":"# Genetic Algorithms\n\n## Table of Contents\n\n\u003c!-- START doctoc generated TOC please keep comment here to allow auto update --\u003e\n\u003c!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --\u003e\n\u003cdetails\u003e\n\u003csummary\u003eDetails\u003c/summary\u003e\n\n- [Setup](#setup)\n- [Run](#run)\n- [Play](#play)\n  - [Task](#task)\n- [Linter](#linter)\n- [Docker](#docker)\n  - [Build Docker Image](#build-docker-image)\n  - [Run](#run-1)\n\n\u003c/details\u003e\n\u003c!-- END doctoc generated TOC please keep comment here to allow auto update --\u003e\n\n## Setup\n```shell script\ncurl -L 'https://raw.githubusercontent.com/technote-space/python-setup/master/bin/setup.sh' | bash -s -- 3.7.7 ga\n# source ~/.bash_profile\n# source ~/.zshrc\npipenv install -d\n```\n\n## Run\n```shell script\npython src/app.py [task]\n```\n\n## Play\n```shell script\npython src/app.py -p [task]\n```\n\n### Task\n#### Santa Fe Trail\n`santa-fe-trail`\n\n[Wikipedia](https://en.wikipedia.org/wiki/Santa_Fe_Trail_problem)\n\n![Santa Fe Trail](https://raw.githubusercontent.com/technote-space/genetic-algorithms-py/images/santa-fe-trail.gif)\n\n#### Cart Pole\n`cart-pole`\n\n[Environment](https://github.com/openai/gym/wiki/CartPole-v0)\n\n![Cart Pole](https://raw.githubusercontent.com/technote-space/genetic-algorithms-py/images/cart-pole.gif)\n\n* [Generated Source Code](./samples/cart-pole)\n* [Generated Algorithm](./samples/cart-pole/packages/algorithm.py)\n\n#### Mountain Car\n`mountain-car`\n\n[Environment](https://github.com/openai/gym/wiki/MountainCar-v0)\n\n![Mountain Car](https://raw.githubusercontent.com/technote-space/genetic-algorithms-py/images/mountain-car.gif)\n\n* [Generated Source Code](./samples/mountain-car)\n* [Generated Algorithm](./samples/mountain-car/packages/algorithm.py)\n\n## Linter\nlint\n```shell script\npipenv run lint\n```\n\nformat\n```shell script\npipenv run format\n```\n\n## Docker\n### Build Docker Image\n```shell script\ndocker build -t ga:latest .\n```\n\n### Run\n```shell script\ndocker run ga:latest [task]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnote-space%2Fgenetic-algorithms-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechnote-space%2Fgenetic-algorithms-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechnote-space%2Fgenetic-algorithms-py/lists"}