{"id":19036305,"url":"https://github.com/lace/polliwog","last_synced_at":"2025-08-04T14:33:28.590Z","repository":{"id":34379404,"uuid":"178247669","full_name":"lace/polliwog","owner":"lace","description":"2D and 3D computational geometry library","archived":false,"fork":false,"pushed_at":"2024-09-01T14:11:33.000Z","size":786,"stargazers_count":32,"open_issues_count":9,"forks_count":6,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-21T07:47:39.346Z","etag":null,"topics":["3d","barycentric","computational-geometry","geometry","plane-geometry","polygonal-chain","polyline","transformations"],"latest_commit_sha":null,"homepage":"https://polliwog.dev/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lace.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-03-28T17:00:45.000Z","updated_at":"2025-07-10T13:17:57.000Z","dependencies_parsed_at":"2023-02-17T06:10:24.518Z","dependency_job_id":"2407c9d2-875b-4b27-9fd1-8d46c1351ec9","html_url":"https://github.com/lace/polliwog","commit_stats":{"total_commits":259,"total_committers":10,"mean_commits":25.9,"dds":0.2857142857142857,"last_synced_commit":"3f0fbde70f87510afcbe787cded0b38d1f018ef0"},"previous_names":[],"tags_count":48,"template":false,"template_full_name":null,"purl":"pkg:github/lace/polliwog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lace%2Fpolliwog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lace%2Fpolliwog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lace%2Fpolliwog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lace%2Fpolliwog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lace","download_url":"https://codeload.github.com/lace/polliwog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lace%2Fpolliwog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268711515,"owners_count":24294790,"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-08-04T02:00:09.867Z","response_time":79,"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":["3d","barycentric","computational-geometry","geometry","plane-geometry","polygonal-chain","polyline","transformations"],"created_at":"2024-11-08T21:54:05.523Z","updated_at":"2025-08-04T14:33:28.407Z","avatar_url":"https://github.com/lace.png","language":"Python","readme":"# polliwog\n\n[![version](https://img.shields.io/pypi/v/polliwog?style=flat-square)][pypi]\n[![python versions](https://img.shields.io/pypi/pyversions/polliwog?style=flat-square)][pypi]\n[![license](https://img.shields.io/pypi/l/polliwog?style=flat-square)][pypi]\n[![coverage](https://img.shields.io/badge/coverage-100%25-brightgreen?style=flat-square)][coverage]\n[![build](https://img.shields.io/circleci/project/github/lace/polliwog/main?style=flat-square)][build]\n[![docs build](https://img.shields.io/readthedocs/polliwog?style=flat-square)][docs build]\n[![code style](https://img.shields.io/badge/code%20style-black-black?style=flat-square)][black]\n\n2D and 3D computational geometry library.\n\nIncludes vectorized geometric operations, transforms, and primitives like\nplanes, polygonal chains, and axis-aligned bounding boxes. Implemented in pure\nPython/NumPy. Lightweight and fast.\n\nSee the complete API reference: https://polliwog.dev/\n\nLike its lower-level counterpart, the vector-geometry and linear-algebra\ntoolbelt `vg`, this project is designed to scale from prototyping to production.\n\nThe goals of this project are:\n\n- Provide a complete set of functionality for this problem domain, with full\n  documentation.\n- Provide 100% test coverage of all code paths and use cases.\n- Keep dependencies light and deployment flexible.\n- Keep the library working with current versions of Python and other tools.\n- Respond to community contributions.\n\n[pypi]: https://pypi.org/project/polliwog/\n[coverage]: https://github.com/lace/polliwog/blob/main/.coveragerc#L2\n[build]: https://circleci.com/gh/lace/polliwog/tree/main\n[docs build]: https://polliwog.readthedocs.io/en/latest/\n[black]: https://black.readthedocs.io/en/stable/\n\n\n## Installation\n\n```sh\npip install polliwog\n```\n\n## Usage\n\n```py\nimport numpy as np\nfrom polliwog import Polyline\n\n# ...\n```\n\n\n## Development\n\nFirst, [install Poetry][].\n\nAfter cloning the repo, run `./bootstrap.zsh` to initialize a virtual\nenvironment with the project's dependencies.\n\nSubsequently, run `./dev.py install` to update the dependencies.\n\n[install poetry]: https://python-poetry.org/docs/#installation\n\n\n## Acknowledgements\n\nThis collection was developed at Body Labs and includes a combination of code\ndeveloped at Body Labs, from legacy code and significant new portions by\n[Eric Rachlin][], [Alex Weiss][], and [Paul Melnikow][]. It was extracted\nfrom the Body Labs codebase and open-sourced by [Alex Weiss][] into a library\ncalled [blmath][], which was subsequently [forked by Paul Melnikow][blmath fork].\nThis library and the 3D geometry and linear-algebra toolbelt [vg][] were later\nextracted.\n\n[eric rachlin]: https://github.com/eerac\n[alex weiss]: https://github.com/algrs\n[paul melnikow]: https://github.com/paulmelnikow\n[blmath]: https://github.com/bodylabs/blmath\n[blmath fork]: https://github.com/metabolize/blmath\n[vg]: https://github.com/lace/vg\n\n\n## License\n\nThe project is licensed under the two-clause BSD license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flace%2Fpolliwog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flace%2Fpolliwog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flace%2Fpolliwog/lists"}