Skip to main content

proj-polyskel

A packaged and maintained version of polyskel for use in Projected projects.

Credits

proj-polyskel is a redistributed and repackaged version of the polyskel library by Ármin Scipiades (@Bottfy), which is a Python implementation of the straight skeleton algorithm as described by Felkel and Obdržálek in their 1998 conference paper "Straight skeleton implementation."

Key differences from the original:

  • Packaged for PyPI distribution with modern Python packaging (pyproject.toml)
  • Removed test files and development artifacts
  • Added proper dependency management
  • Maintained for compatibility with Projected toolchain

Installation

pip install proj-polyskel

Quick start

Basic Example

from proj_polyskel import skeletonize

rectangle = [(40, 40), (40, 310), (520, 310), (520, 40)]
skeleton = skeletonize(polygon=rectangle)

Polygon with holes

from proj_polyskel import skeletonize

rectangle = [(40, 40), (40, 310), (520, 310), (520, 40)]
holes = [[(100, 100), (200, 100), (200, 150), (100, 150)]]
skeleton = skeletonize(polygon=rectangle, holes=holes)

Support

For issues related to this package, please open an issue on this repository. For questions about the original polyskel implementation, please refer to the original repository.

License

This package contains code from the original polyskel library by Ármin Scipiades, licensed under LGPL v3. Since we are redistributing the original LGPL source code, this entire package is licensed under LGPL v3 (see LICENSE file). Packaging and maintenance by D3Companion GmbH.

Metadata

Release files for proj-polyskel 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for proj-polyskel 0.1.0
File Size Uploaded
proj_polyskel-0.1.0.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for proj-polyskel 0.1.0
File Interpreter ABI Platform
proj_polyskel-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 19.5 kB

Release files / proj_polyskel-0.1.0.tar.gz

Download URL proj_polyskel-0.1.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b253b1030d7f460ce6beb8fb57fd72fe3a7ec69615ce75a90eeeb747eea51b1a
BLAKE2b-256 checksum
How to use checksums
73391175db71afba2c1f22c86473121cb3df061190b3b64126da77c5054eee0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release files / proj_polyskel-0.1.0-py3-none-any.whl

Download URL proj_polyskel-0.1.0-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
61fcb882763d296f906c3431c410fe2c8bc1eace3377e3565a68faeebb50ca02
BLAKE2b-256 checksum
How to use checksums
e16376b8d7462a5172f63ccd1611ef2f34b15f9e1e3016351fcc0cfde6d074c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.10

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page