{"id":13993988,"url":"https://github.com/gojuno/hexgrid-py","last_synced_at":"2025-12-27T12:54:24.113Z","repository":{"id":57437244,"uuid":"71509326","full_name":"gojuno/hexgrid-py","owner":"gojuno","description":"Configurable hex grid on abstract surface","archived":false,"fork":false,"pushed_at":"2019-02-19T14:07:48.000Z","size":9,"stargazers_count":13,"open_issues_count":1,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-23T15:54:11.716Z","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":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gojuno.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2016-10-20T22:26:34.000Z","updated_at":"2024-07-19T04:38:07.000Z","dependencies_parsed_at":"2022-09-11T02:50:37.725Z","dependency_job_id":null,"html_url":"https://github.com/gojuno/hexgrid-py","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/gojuno/hexgrid-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuno%2Fhexgrid-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuno%2Fhexgrid-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuno%2Fhexgrid-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuno%2Fhexgrid-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gojuno","download_url":"https://codeload.github.com/gojuno/hexgrid-py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gojuno%2Fhexgrid-py/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266552505,"owners_count":23947174,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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-08-09T14:02:39.447Z","updated_at":"2025-12-27T12:54:24.045Z","avatar_url":"https://github.com/gojuno.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"HexGrid\n=======\n\nBasics\n------\n\nConfigurable hex grid on abstract surface.\n\nExample\n-------\n\n.. code-block:: python\n\n    import hexgrid\n    import morton\n\n    center = hexgrid.Point(0, 0)\n    size = hexgrid.Point(20, 10)\n    grid = hexgrid.Grid(hexgrid.OrientationFlat, center, size, morton.Morton(2, 32))\n    hex = grid.hex_at(hexgrid.Point(50, 50))\n    code = grid.hex_to_code(hex)\n    restored_hex = grid.hex_from_code(code)\n    neighbors = grid.hex_neighbors(hex, 2)\n    points = [\n        hexgrid.Point(0, 0), hexgrid.Point(0, 10),\n        hexgrid.Point(10, 10), hexgrid.Point(10, 0)\n    ]\n    region = grid.make_region(points)\n    hexes_in_region = region.hexes\n\nSetup\n-------\npip install hexgrid-py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojuno%2Fhexgrid-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgojuno%2Fhexgrid-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgojuno%2Fhexgrid-py/lists"}