Skip to main content

2D and 3D computational geometry library in pure Python

Project description

polliwog

version python versions license coverage build docs build code style

A 2D and 3D computational geometry library, including geometric operations, transforms, and primitives like planes, polygonal chains, and axis-aligned bounding boxes. Lightweight and pure Python.

The goals of this project are:

  • Keep dependencies light and deployment flexible.
  • Keep the library working in current versions of Python and other tools.
  • Respond to community contributoions.
  • Eventually provide a complete set of functionality for this problem domain.

TODO

  • Replace _temporary.setter_property with ??.

Features

Geometric operations, transforms, and primitives, in 2D and 3D.

The most commonly used of these are directly imported into polliwog.

polliwog.transform includes code for 3D transforms.

Other modules:

Installation

pip install polliwog

Usage

import numpy as np
from polliwog import Polyline

# ...

Contribute

Pull requests welcome!

Support

If you are having issues, please let us know.

Acknowledgements

This collection was developed at Body Labs and includes a combination of code developed at Body Labs, from legacy code and significant new portions by Eric Rachlin, Alex Weiss, and Paul Melnikow. It was extracted from the Body Labs codebase and open-sourced by Alex Weiss into a library called blmath, which was subsequnetly forked by Paul Melnikow. This library and the 3D geometry and linear-algebra toolbelt vg were later extracted.

License

The project is licensed under the two-clause BSD license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

polliwog-0.7.0.tar.gz (32.0 kB view details)

Uploaded Source

File details

Details for the file polliwog-0.7.0.tar.gz.

File metadata

  • Download URL: polliwog-0.7.0.tar.gz
  • Upload date:
  • Size: 32.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/2.7.16

File hashes

Hashes for polliwog-0.7.0.tar.gz
Algorithm Hash digest
SHA256 b2292482d639bdccbbc74db408cd2e07c41008867cc74a3d5958f7edc08d0d95
MD5 2be730a05aa5dd3f958ddfc13c0b0a97
BLAKE2b-256 281c1e5834b306fba94f5c158e9c5e5c6c8e428bd6e727fc78f5fd7cceb30d4f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page