{"id":28655788,"url":"https://github.com/jhidding/nbody2d","last_synced_at":"2025-10-18T20:55:40.414Z","repository":{"id":73008617,"uuid":"219013742","full_name":"jhidding/nbody2d","owner":"jhidding","description":"2D PM n-body code for cosmology","archived":false,"fork":false,"pushed_at":"2024-07-08T14:21:51.000Z","size":5511,"stargazers_count":7,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-11T23:17:33.981Z","etag":null,"topics":["2d-nbody","cosmology","simulation"],"latest_commit_sha":null,"homepage":"https://jhidding.github.io/nbody2d","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jhidding.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2019-11-01T15:36:21.000Z","updated_at":"2025-04-07T01:19:23.000Z","dependencies_parsed_at":null,"dependency_job_id":"9b9eda65-6128-4771-97b7-2ecd398edd97","html_url":"https://github.com/jhidding/nbody2d","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/jhidding/nbody2d","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhidding%2Fnbody2d","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhidding%2Fnbody2d/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhidding%2Fnbody2d/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhidding%2Fnbody2d/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhidding","download_url":"https://codeload.github.com/jhidding/nbody2d/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhidding%2Fnbody2d/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259606972,"owners_count":22883561,"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":["2d-nbody","cosmology","simulation"],"created_at":"2025-06-13T08:08:29.217Z","updated_at":"2025-10-18T20:55:35.375Z","avatar_url":"https://github.com/jhidding.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 2D PM n-body code for cosmology\n[![Entangled badge](https://img.shields.io/badge/entangled-Use%20the%20source!-%2300aeff)](https://entangled.github.io/)\n[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.4158731.svg)](https://doi.org/10.5281/zenodo.4158731)\n\n![A sample simulation, three time steps; the bottom row is a zoom-in.](docs/figures/x.collage.png)\n\n## Install\nThis code has the following dependencies:\n\n- Python3\n- Gnuplot\n- `pip install -r requirements.txt` will install `numpy` and `scipy`.\n\n## Run\nFrom project directory run\n\n        python -m nbody.nbody\n\nProgress on simulation is plotted with Gnuplot. Results end up in `./data` directory.\n\n## Citation\nIf you use this code in a scientific publication, please cite it using this DOI:[10.5281/zenodo.4158731](https://doi.org/10.5281/zenodo.4158731).\n\n## Development\nI'm in the process of making this code literate. To edit the code, have [Entangled](https://entangled.github.io/) installed and running:\n\n        entangled daemon\n\nDocumentation is currently minimal. The literate code can be viewed in rendered form [on the github.io pages](https://jhidding.github.io/nbody2d).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhidding%2Fnbody2d","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhidding%2Fnbody2d","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhidding%2Fnbody2d/lists"}