skillfed

skia-pathops

Python access to operations on paths using the Skia library

skia-pathops v0.9.2 278.9K downloads/30d#8,129 on PyPI57
Permissive license BSD-3-Clause Active released

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 on this page — 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

skia-pathops on PyPI

pip

pip install skia-pathops

uv

uv add skia-pathops

poetry

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 the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 179 days since the last release
Last repo commit
First released
Downloads 278,947/month — #8,129 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: skia_pathops-0.9.2-cp310-abi3-macosx_10_9_universal2.whl; skia_pathops-0.9.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; skia_pathops-0.9.2-cp310-abi3-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; skia_pathops-0.9.2-cp310-abi3-musllinux_1_2_aarch64.whl; skia_pathops-0.9.2-cp310-abi3-musllinux_1_2_x86_64.whl; skia_pathops-0.9.2-cp310-abi3-win32.whl; skia_pathops-0.9.2-cp310-abi3-win_amd64.whl; skia_pathops-0.9.2-pp311-pypy311_pp73-macosx_10_15_x86_64.whl; skia_pathops-0.9.2-pp311-pypy311_pp73-macosx_11_0_arm64.whl; skia_pathops-0.9.2-pp311-pypy311_pp73-manylinux2014_x86_64.manylinux_2_17_x86_64.whl; skia_pathops-0.9.2-pp311-pypy311_pp73-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl; skia_pathops-0.9.2-pp311-pypy311_pp73-win_amd64.whl

Development Status :: 4 - BetaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Multimedia :: GraphicsTopic :: Multimedia :: Graphics :: Graphics Conversion

Tags

path boolean operationsvector path intersection unionskia pathops pythongeometric path operationspath clipping and combining
vector-geometryfont-toolsgraphics-processing

More Graphics packages