{"id":34160979,"url":"https://github.com/naakinn/microtraffic","last_synced_at":"2026-03-10T20:02:13.749Z","repository":{"id":291136461,"uuid":"975983273","full_name":"Naakinn/MicroTraffic","owner":"Naakinn","description":"Microtraffic simulation written in python","archived":false,"fork":false,"pushed_at":"2025-05-02T15:53:42.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-02T16:52:00.815Z","etag":null,"topics":["python","python3","simulation","traffic","trafficsimulator"],"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/Naakinn.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,"zenodo":null}},"created_at":"2025-05-01T09:04:40.000Z","updated_at":"2025-05-02T15:53:45.000Z","dependencies_parsed_at":"2025-05-02T16:52:04.241Z","dependency_job_id":"0e484b32-6b71-460b-b818-a089c766df84","html_url":"https://github.com/Naakinn/MicroTraffic","commit_stats":null,"previous_names":["naakinn/microtraffic"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Naakinn/MicroTraffic","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naakinn%2FMicroTraffic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naakinn%2FMicroTraffic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naakinn%2FMicroTraffic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naakinn%2FMicroTraffic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Naakinn","download_url":"https://codeload.github.com/Naakinn/MicroTraffic/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Naakinn%2FMicroTraffic/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30351748,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-10T15:55:29.454Z","status":"ssl_error","status_checked_at":"2026-03-10T15:54:58.440Z","response_time":106,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["python","python3","simulation","traffic","trafficsimulator"],"created_at":"2025-12-15T08:47:51.622Z","updated_at":"2026-03-10T20:02:13.736Z","avatar_url":"https://github.com/Naakinn.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003e [!WARNING]\n\u003e Highly beta, PRs are welcome.\n\n## Microtraffic simulation\n![](res/preview.png)\n\n## Get started\n### Setup python execution environment\n```\ngit clone https://github.com/Naakinn/MicroTraffic \u0026\u0026 cd MicroTraffic\npython3 -m venv venv\nsource venv/bin/activate\npip install -r requirements.txt\n```\n### Build your own map with MapBuilder\n```\npython map_builder.py\n```\nIt wil generate `surfarray.pickle` and `grid.pickle` in your current directory. \n\n### Run the simulation using generated map\nRun\n```\npython simulation.py\n```\nin the same directory to use saved map in your simulation. \n\n### Check out simulation's state at web page\nRun\n```\npython api/api.py\n```\nand check out localhost:8000/api/traffic/info\n## Docs\n### MapBuilder\nScroll your mouse wheel to select different blocks:\n- white block - road\n- arrows - intersections(arrow specify where a vehicle have to turn)\n- green block - traffic light\n\nLeft click - place selected block\nRight click - remove block \n### Simulation\nScroll your mouse wheel to spawn vehicles with different directions\n\n### Web API\nCheck out `localhost:8000/api/traffic/info` to see what happens inside a simulation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaakinn%2Fmicrotraffic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaakinn%2Fmicrotraffic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaakinn%2Fmicrotraffic/lists"}