{"id":13716802,"url":"https://github.com/alibaba-archive/torchcraft-py","last_synced_at":"2025-05-07T06:31:42.542Z","repository":{"id":68469478,"uuid":"78485827","full_name":"alibaba-archive/torchcraft-py","owner":"alibaba-archive","description":"Python wrapper for TorchCraft. (In progress)","archived":true,"fork":false,"pushed_at":"2017-07-27T07:44:09.000Z","size":22,"stargazers_count":71,"open_issues_count":4,"forks_count":21,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-05-07T04:39:27.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alibaba-archive.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-01-10T01:33:39.000Z","updated_at":"2024-09-13T17:03:31.000Z","dependencies_parsed_at":"2024-01-25T18:06:19.207Z","dependency_job_id":"3b806668-5f0f-4727-ab74-b70d1d9a7a63","html_url":"https://github.com/alibaba-archive/torchcraft-py","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba-archive%2Ftorchcraft-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba-archive%2Ftorchcraft-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba-archive%2Ftorchcraft-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba-archive%2Ftorchcraft-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alibaba-archive","download_url":"https://codeload.github.com/alibaba-archive/torchcraft-py/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252826874,"owners_count":21810197,"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":[],"created_at":"2024-08-03T00:01:14.557Z","updated_at":"2025-05-07T06:31:42.286Z","avatar_url":"https://github.com/alibaba-archive.png","language":"Python","funding_links":[],"categories":["Pytorch \u0026 related libraries｜Pytorch \u0026 相关库"],"sub_categories":["Other libraries｜其他库:"],"readme":"# torchcraft-py\n\nPython wrapper for [TorchCraft](https://github.com/TorchCraft/TorchCraft), a bridge between Torch and StarCraft for AI research.\n\n## Installation\n\n1. Install [TorchCraft](https://github.com/TorchCraft/TorchCraft) and its dependencies. You can skip the Torch client part. \n\n2. Install the package itself:\n    ```\n    git clone https://github.com/deepcraft/torchcraft-py.git\n    cd torchcraft-py\n    pip install -e .\n    ```\n\n## Usage\n1. Start StarCraft server with BWAPI by Chaoslauncher.\n\n2. Run examples:\n\n    ```\n    cd examples\n    python attack_weakest.py --ip $server_ip --port $server_port\n    ```\n    \n    The `$server_ip` and `$server_port` are the ip and port of the server running StarCraft.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba-archive%2Ftorchcraft-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falibaba-archive%2Ftorchcraft-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba-archive%2Ftorchcraft-py/lists"}