{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"},{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics"},{"label":"Graphics","url":"https://skillfed.io/packages/category/multimedia-graphics"}],"enrichment":{"capability":"Pyclipper performs polygon clipping operations (intersection, union, difference, exclusive-or) and polygon offsetting using a Cython wrapper around the C++ Clipper library version 6.4.2.","skillfed_tags":["computational-geometry","polygon-operations","cython-wrapper"],"use_cases":["Compute intersections, unions, or differences of polygon regions in graphics or GIS applications.","Offset polygon boundaries inward or outward by a fixed distance for buffer operations.","Perform boolean operations on closed polygons in CAD or design software.","Combine multiple polygon paths with clipping rules (even-odd or non-zero winding) in computational geometry.","Scale and clip line segments or polygons while maintaining numerical precision in scientific applications."],"what_it_does":"Pyclipper is a Cython wrapper around Angus Johnson's Clipper library (version 6.4.2), a C++ polygon clipping and offsetting engine. It exposes the core clipping operations\u2014intersection, union, difference, and exclusive-or\u2014as well as polygon offsetting, using Vatti's clipping algorithm for numerical robustness. The library works with integer coordinates internally to avoid floating-point precision issues; helper functions scale_to_clipper() and scale_from_clipper() are provided to convert between floating-point and integer representations.\n\nThe package is designed for developers working with computational geometry, graphics, or CAD-like applications. It has no runtime dependencies beyond Python itself. The API closely mirrors the original C++ library's naming conventions, with classes Pyclipper and PyclipperOffset replacing the C++ Clipper and ClipperOffset. Since version 1.0.0, automatic scaling via SCALING_FACTOR was removed to preserve the original library's numerical robustness, which is a breaking change from earlier versions.","worth_installing":"Yes, if you need robust polygon clipping or offsetting. The package is stable, has no known vulnerabilities, supports current Python versions (3.10\u20133.14), and is widely downloaded (11.7M monthly). The aging maintenance status (256 days since release) is a minor concern but not a blocker; the repository is active and the underlying algorithm is mature. Install friction is moderate due to compilation, but prebuilt wheels are available for common platforms. Breaking changes in version 1.0.0 (SCALING_FACTOR removal) may affect legacy code, so review migration notes if upgrading from 0.9.3b0."},"id":"pyclipper","links":{"html":"https://skillfed.io/packages/pyclipper","md":"https://skillfed.io/packages/pyclipper.md","pypi":"https://pypi.org/project/pyclipper/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-12-01","license_spdx":null,"license_treatment":"permissive","name":"pyclipper","python_support":"supports_current","summary":"Cython wrapper for the C++ translation of the Angus Johnson's Clipper library (ver. 6.4.2)"},"popularity":{"monthly_downloads":11792148,"position":1361,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.4.0"}
