{"id":51240120,"url":"https://github.com/commaai/miniray","last_synced_at":"2026-06-28T23:32:22.483Z","repository":{"id":335618477,"uuid":"1145427224","full_name":"commaai/miniray","owner":"commaai","description":"Minimal library for distributed python work. Can efficiently run CPU and GPU tasks across 100s of machines.","archived":false,"fork":false,"pushed_at":"2026-06-19T17:47:11.000Z","size":511,"stargazers_count":131,"open_issues_count":2,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-06-19T19:26:13.504Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/commaai.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-29T19:46:18.000Z","updated_at":"2026-06-16T22:10:43.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/commaai/miniray","commit_stats":null,"previous_names":["commaai/miniray"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/commaai/miniray","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fminiray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fminiray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fminiray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fminiray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/commaai","download_url":"https://codeload.github.com/commaai/miniray/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/commaai%2Fminiray/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34907985,"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":"2026-06-28T23:32:22.302Z","updated_at":"2026-06-28T23:32:22.471Z","avatar_url":"https://github.com/commaai.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# miniray\nMiniray is a library for distributed compute across a datacenter. Miniray is designed to dispatch tasks of arbitrary python code through redis. Miniray uses python's *concurrent.futures* API. \n\n### example\n```\nimport miniray\n\ndef is_even(n):\n  return n % 2 == 0\n\nx = np.arange(100)\nresults_loop = [is_even(n) for n in x]\n\nwith miniray.Executor(job_name='miniray_example_map') as executor:\n  results_map = executor.map(is_even, np.arange(100))\n\nwith miniray.Executor(job_name='miniray_example_submit') as executor:\n  futures = [executor.submit(is_even, n) for n in x]\n  results_submit = [future.result() for future in as_completed(futures)]\n\nfor a, b, c in zip(results_loop, results_map, results_submit):\n  assert a == b == c\n```\n\n### want to use?\nIf you have tasks that you rant to parallelize across multiple machines, miniray might be right for you! Contact harald@comma.ai if miniray is missing something you would like.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommaai%2Fminiray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommaai%2Fminiray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommaai%2Fminiray/lists"}