{"id":13869720,"url":"https://github.com/gisalgs/geom","last_synced_at":"2025-07-15T18:31:53.280Z","repository":{"id":65490578,"uuid":"43625062","full_name":"gisalgs/geom","owner":"gisalgs","description":":zap: Algorithms for geometric operations","archived":false,"fork":false,"pushed_at":"2024-11-13T06:03:27.000Z","size":104,"stargazers_count":60,"open_issues_count":0,"forks_count":40,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-13T07:17:57.907Z","etag":null,"topics":["algorithm","geometry"],"latest_commit_sha":null,"homepage":"","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/gisalgs.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":"2015-10-04T04:31:58.000Z","updated_at":"2024-11-13T06:03:31.000Z","dependencies_parsed_at":"2023-12-17T07:27:33.052Z","dependency_job_id":"1922405f-8bfe-422c-895f-807d13b49488","html_url":"https://github.com/gisalgs/geom","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/gisalgs%2Fgeom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gisalgs%2Fgeom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gisalgs%2Fgeom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gisalgs%2Fgeom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gisalgs","download_url":"https://codeload.github.com/gisalgs/geom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226062719,"owners_count":17567881,"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":["algorithm","geometry"],"created_at":"2024-08-05T20:01:13.493Z","updated_at":"2024-11-23T15:31:53.649Z","avatar_url":"https://github.com/gisalgs.png","language":"Python","readme":"# :sunglasses: Code for geometric algorithms\n\nThis is no formal installation for this package (or any packages in `gisalgs`). However, installing the code is not complicated. It is important to organize everything in a directory and each package such as `geom` is a subdirectory. Now suppose we use the directory at the root called `/lib` to store everything and we create a subfolder called `gisalgs` there. Under the `/lib/gisalgs` directory, create a subdirectory called `geom` and save all the files in this repository in geom. It will be essential to have the `__init__.py` in geom (this is just an empty file with the specific file name). Lastly, make sure to copy `__init__.py` to the parent directory (in this case, `/lib/gisalgs`).\n\n:zap: The following is an example of using modules in this repository:\n\n```python\nimport sys\nsys.path.append('/lib/gisalgs')\n\nfrom geom.point import *\n\np, p1, p2 = Point(10,0), Point(0,100), Point(0,1)\nprint(p.distance(p1))\nprint(p1)\n```\n","funding_links":[],"categories":["Python"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgisalgs%2Fgeom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgisalgs%2Fgeom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgisalgs%2Fgeom/lists"}