{"id":19408650,"url":"https://github.com/ninest/military-sim","last_synced_at":"2026-06-29T01:31:54.466Z","repository":{"id":106603504,"uuid":"339962680","full_name":"ninest/military-sim","owner":"ninest","description":null,"archived":false,"fork":false,"pushed_at":"2021-03-09T05:00:47.000Z","size":14,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-06-15T00:21:41.652Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ninest.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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"ninest","patreon":null,"open_collective":null,"ko_fi":"parthkabra","tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":["https://www.buymeacoffee.com/ninest"]}},"created_at":"2021-02-18T06:55:44.000Z","updated_at":"2022-12-23T20:35:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"3a15f3ce-6414-4e9c-88e5-656c809b20c8","html_url":"https://github.com/ninest/military-sim","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ninest/military-sim","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninest%2Fmilitary-sim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninest%2Fmilitary-sim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninest%2Fmilitary-sim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninest%2Fmilitary-sim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ninest","download_url":"https://codeload.github.com/ninest/military-sim/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ninest%2Fmilitary-sim/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34910177,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":[],"created_at":"2024-11-10T12:07:10.419Z","updated_at":"2026-06-29T01:31:54.435Z","avatar_url":"https://github.com/ninest.png","language":"Python","funding_links":["https://github.com/sponsors/ninest","https://ko-fi.com/parthkabra","https://www.buymeacoffee.com/ninest"],"categories":[],"sub_categories":[],"readme":"# Military Simulator\n\n## Features\n\n### Commands\n\nReference: https://www.youtube.com/watch?v=TjUTaFcxXYo?t=1015\n\n- View\n- Configure\n- Next\n\n## Build setup\n\nClone the repository then run\n\n```bash\npoetry shell\npoetry install\n\npython --version\n# Should output `Python 3.9.1`\n```\n\nEnsure that everything's working with\n\n```bash\npython -m military_sim\n```\n\n## Project creation\n\nThis section describes how this project was created. You do not need to run these commands, but you should know them.\n\n1. [Install poetry](https://python-poetry.org/docs/#installation)\n\n   On Mac or Linux, run\n\n   ```bash\n   pip install poetry\n   # You may have to use pip3\n   ```\n\n   To check if installation has worked, restart your terminal and run `poetry --version`.\n\n2. Create the project with `poetry new military-sim`. Run this command, and it will create a folder `military-sim`.\n\n3. Open VScode's terminal and enter `poetry shell`.\n\n   The output should be something like\n\n   ```bash\n   military-sim/ poetry shell\n   Spawning shell within /.../Caches/pypoetry/virtualenvs/military-sim-JTlYG4VT-py3.9\n   military-sim/ . /.../Caches/pypoetry/virtualenvs/military-sim-JTlYG4VT-py3.9/bin/activate\n   (military-sim-JTlYG4VT-py3.9) military-sim/\n   ```\n\n   To ensure that it's working, type the following commands into the terminal:\n\n   - `which python`\n   - `python --version`\n\n   `which python` should return something like `/.../Caches/pypoetry/virtualenvs/military-sim-JTlYG4VT-py3.9/bin/python`. This is the location of the Python virtual environment\n\n   `python --version` should return `Python 3.9.1`, which is the _local version_ of Python we're using for this project.\n\n4. Set up VScode's Python interpreter.\n\n   Look to the bottom left of your screen and you should see your global version. I see\n\n   \u003e Python 3.9.1 64-bit\n\n   We should set it to use the local virtualenv for this project. To get the path, copy the output of `which python` and remove the `/bin/python` from the end.\n\n   1. Click on the Python version in VScode, and it will open up a menu where you can select your Python interpreter.\n   2. Click on \"Enter interpreter path...\" (this should be the first option)\n   3. Paste in the output of `which python`. In my case, it's something like `/.../Library/Caches/pypoetry/virtualenvs/military-sim-JT-py3.9`\n\n   To check if it has worked, look at the bottom left and you should see something like\n\n   \u003e Python 3.9.1 64-bit ('military-sim-JTIYG4VT-py3.9': venv)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninest%2Fmilitary-sim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fninest%2Fmilitary-sim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fninest%2Fmilitary-sim/lists"}