{"id":13687865,"url":"https://github.com/scikit-geometry/scikit-geometry","last_synced_at":"2025-10-21T19:27:35.703Z","repository":{"id":40446060,"uuid":"54884801","full_name":"scikit-geometry/scikit-geometry","owner":"scikit-geometry","description":"Scientific Python Geometric Algorithms Library","archived":false,"fork":false,"pushed_at":"2024-01-31T01:07:44.000Z","size":7423,"stargazers_count":416,"open_issues_count":46,"forks_count":57,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-03T15:06:52.084Z","etag":null,"topics":["cgal","geometric-algorithms","geometry","python","wrapper"],"latest_commit_sha":null,"homepage":"https://scikit-geometry.github.io/scikit-geometry","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scikit-geometry.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}},"created_at":"2016-03-28T10:27:25.000Z","updated_at":"2024-07-29T08:44:05.000Z","dependencies_parsed_at":"2024-01-14T16:11:46.428Z","dependency_job_id":"48cfec0a-fa46-4c18-97d8-b75a0232fb9a","html_url":"https://github.com/scikit-geometry/scikit-geometry","commit_stats":{"total_commits":74,"total_committers":15,"mean_commits":4.933333333333334,"dds":0.6756756756756757,"last_synced_commit":"71a7b2bf86e2e760f19d3b036b10da1ff89707ff"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scikit-geometry%2Fscikit-geometry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scikit-geometry%2Fscikit-geometry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scikit-geometry%2Fscikit-geometry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scikit-geometry%2Fscikit-geometry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scikit-geometry","download_url":"https://codeload.github.com/scikit-geometry/scikit-geometry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224266367,"owners_count":17283123,"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":["cgal","geometric-algorithms","geometry","python","wrapper"],"created_at":"2024-08-02T15:01:02.209Z","updated_at":"2025-10-21T19:27:30.670Z","avatar_url":"https://github.com/scikit-geometry.png","language":"Jupyter Notebook","readme":"# scikit-geometry\n\n![scikit-geometry logo](docs/source/_static/scikit-geometry.svg)\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/scikit-geometry/scikit-geometry/master?filepath=notebooks)\n\n*A Python Geometric Algorithms Library*\n\nThe scikit-geometry package contains a whole lot of geometric algorithms. For the moment, scikit-geometry derives most of it’s functionality from the mature and stable Computational Geometry Algorithms Library (CGAL) package, a collection of geometric algorithms written in C++.\n\nBasic Geometric Types\n\nWe aim to cleanly encapsulate the important building blocks of a geometric library. As such we have implementations for the basic geometric types:\n\n- `Point2`, `Point3`\n- `Segment2`, `Ray2`, `Line2`, `Segment3`, `Ray3`, `Line3`\n- `Vector2`, `Vector3`\n- `Circle2`\n- `IsoRectangle2`, `Bbox2`\n- `Plane3`, `Triangle3`\n- `Polyhedron3`\n\nAll sorts of operations can be performed with these basic building blocks. For example, one can construct a new segment from two points, then test against intersection with another segment, or a line.\n\n```\nimport skgeom as sg\na = sg.Point2(5, 3)\nb = sg.Point2(10, 8)\nprint(a, b)\n\n\u003e\u003e\u003e PointC2(5, 3), PointC2(10, 8)\n```\n\nNow we can create a vector from two points by subtracting one from another.\n\n```\nv = a - b\nprint(v)\n\n\u003e\u003e\u003e VectorC2(-5, -5)\n```\n\nOr a segment between two points, where a is the source and b the target.\n\n```\ns = sg.Segment2(a, b)\nprint(s)\n\n\u003e\u003e\u003e Segment_2(PointC2(5, 3), PointC2(10, 8))\n```\n\n## Documentation\n\nThe docs are hosted on github: [https://scikit-geometry.github.io/scikit-geometry](https://scikit-geometry.github.io/scikit-geometry)\n\nIt is built from Jupyter notebooks that can be found under the `/docs` subdirectory.\n\n## License\n\nThis software is licensed under the LGPL-3 license. See the [LICENSE](LICENSE) file for details.\n","funding_links":[],"categories":["Jupyter Notebook","Tools"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscikit-geometry%2Fscikit-geometry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscikit-geometry%2Fscikit-geometry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscikit-geometry%2Fscikit-geometry/lists"}