--- id: skia-pathops version: "0.9.2" license: BSD-3-Clause license_treatment: permissive maintenance: active --- # skia-pathops — Python access to operations on paths using the Skia library License: permissive · Maintenance: active · Downloads: 278.9K/mo ## What it is and what it does skia-pathops wraps Google's Skia Path Ops library, a specialized tool for performing boolean operations on vector paths. It lets you compute intersections, unions, differences, and XOR combinations of paths—operations fundamental to vector graphics processing, font manipulation, and CAD-like applications. The package provides a thin Python interface to Skia's C++ implementation, so it's fast and reliable for path geometry work. It has no runtime dependencies, only a compiled extension module. Installation is straightforward on common platforms via pre-built wheels, though you'll need Python 3.10 or later. Use it for: - Font processing: compute path intersections and unions when manipulating glyph outlines. - Vector graphics: combine or subtract paths when building complex shapes from simpler ones. - Clipping operations: compute the intersection of two paths to clip one to another's boundary. - Path simplification: use boolean operations to resolve overlaps and clean up complex path data. - Geometric analysis: determine XOR or difference regions between overlapping vector shapes. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Python bindings for Google Skia's Path Ops module, enabling boolean operations (intersection, union, difference, xor) on vector paths. Yes, if you need robust boolean path operations in Python. The package is actively maintained, has no known vulnerabilities, and offers pre-built wheels for most platforms. Install friction is moderate but manageable. The permissive BSD license poses no barrier. Suitable for font tools, vector graphics libraries, and geometric processing workflows. ## Install pip install skia-pathops uv add skia-pathops poetry add skia-pathops ## Installing skia-pathops Before you install: Medium install friction due to compiled extension; pre-built wheels available for common platforms (CPython 3.10+, PyPy 3.11). Active maintenance with recent release. License in practice: BSD-3-Clause permissive license allows use in most projects with minimal restrictions; attribution required. Quickstart: pip install skia-pathops import skia_pathops # Use pathops for boolean operations on vector paths Requires Python 3.10 or later; compiled extension requires appropriate wheel for your platform. Verify before relying: - Specific performance characteristics or path complexity limits not documented in fact sheet. - Integration patterns with common vector graphics libraries beyond Skia itself. ## Package facts - License: BSD-3-Clause (permissive) - Python support: supports_current - Install friction: medium - Maintenance: active - Downloads: 278.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags path boolean operations, vector path intersection union, skia pathops python, geometric path operations, path clipping and combining, vector-geometry, font-tools, graphics-processing [View on SkillFed](https://skillfed.io/packages/skia-pathops) · [View on PyPI](https://pypi.org/project/skia-pathops/)