{"id":26091555,"url":"https://github.com/pmocz/nbody-python","last_synced_at":"2025-07-29T22:14:20.366Z","repository":{"id":44000926,"uuid":"295011784","full_name":"pmocz/nbody-python","owner":"pmocz","description":"Vectorized N-body code (Python)","archived":false,"fork":false,"pushed_at":"2023-07-21T07:08:51.000Z","size":100,"stargazers_count":112,"open_issues_count":1,"forks_count":52,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T02:04:30.171Z","etag":null,"topics":["astrophysics","n-body","scientific-computing","tutorial"],"latest_commit_sha":null,"homepage":"https://medium.com/swlh/create-your-own-n-body-simulation-with-python-f417234885e9","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pmocz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-12T19:25:17.000Z","updated_at":"2025-03-06T08:59:17.000Z","dependencies_parsed_at":"2025-03-09T10:34:06.604Z","dependency_job_id":null,"html_url":"https://github.com/pmocz/nbody-python","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/pmocz%2Fnbody-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmocz%2Fnbody-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmocz%2Fnbody-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pmocz%2Fnbody-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pmocz","download_url":"https://codeload.github.com/pmocz/nbody-python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530612,"owners_count":21119592,"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":["astrophysics","n-body","scientific-computing","tutorial"],"created_at":"2025-03-09T10:21:30.533Z","updated_at":"2025-07-29T22:14:20.354Z","avatar_url":"https://github.com/pmocz.png","language":"Python","readme":"# nbody-python\nVectorized N-body code (Python)\n\n## Create Your Own N-body Simulation (With Python)\n\n### Philip Mocz (2020) Princeton University, [@PMocz](https://twitter.com/PMocz)\n\n### [📝 Read the Algorithm Write-up on Medium](https://medium.com/swlh/create-your-own-n-body-simulation-with-python-f417234885e9)\n\nSimulate orbits of stars interacting due to gravity\n\nCode calculates pairwise forces according to Newton's Law of Gravity\n\n```\npython nbody.py\n```\n\n![Simulation](./nbody.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmocz%2Fnbody-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmocz%2Fnbody-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmocz%2Fnbody-python/lists"}