Skip to main content

Python bindings for CGAL - Computational Geometry Algorithms Library

Project description

pycglib — CGAL Python Bindings

Python bindings for CGAL — Computational Geometry Algorithms Library, powered by pybind11.

⚠️ Work in Progress: This package is currently in active development and not intended for public use yet. API may change without notice.

What is CGAL?

CGAL (Computational Geometry Algorithms Library) is a powerful C++ library that provides efficient and reliable algorithms for computational geometry. It covers a wide range of topics including triangulations, mesh generation, spatial searching, boolean operations, and much more. It is widely used in robotics, GIS, computer graphics, and scientific computing.

What is Python?

Python is one of the most popular programming languages in the world, known for its simplicity, readability, and a rich ecosystem of libraries for data science, machine learning, and engineering.

Why Python for CGAL?

CGAL is written in C++, which makes it fast but harder to access for many developers and researchers who work primarily in Python. By wrapping CGAL using pybind11, pycglib brings the full power of CGAL's geometry algorithms to Python — no C++ knowledge required. This makes computational geometry accessible to a much wider audience.


Installation

Prerequisites

  • Python 3.10 to 3.13 (64-bit)
  • Windows x86-64, Linux (glibc 2.28+), or macOS 15.0 (Sequoia)+
  • pip 21.0 or later

Install via pip

pip install pycglib

Verify Installation

Run the following snippet to confirm pycglib is installed and working correctly:

import pycglib as pg

a = (0, 0)
b = (3, 4)
result = pg.squared_distance(a, b)
print(result)  # Expected output: 25.0

If you see 25.0, your installation is successful!


Supported Platforms

Platform Supported
Windows x86-64
Linux (glibc 2.28+)
macOS 15.0+ (ARM64)
Windows 32-bit
Alpine Linux (musllinux)
macOS < 15.0

Supported Python Versions

Python Version Supported
3.10
3.11
3.12
3.13
< 3.10 or > 3.13

Links

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pycglib-0.1.38-cp313-cp313-win_amd64.whl (204.9 kB view details)

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.38-cp313-cp313-manylinux_2_28_x86_64.whl (763.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.38-cp313-cp313-macosx_15_0_arm64.whl (622.2 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.38-cp312-cp312-win_amd64.whl (204.9 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.38-cp312-cp312-manylinux_2_28_x86_64.whl (763.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.38-cp312-cp312-macosx_15_0_arm64.whl (622.2 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.38-cp311-cp311-win_amd64.whl (205.5 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.38-cp311-cp311-manylinux_2_28_x86_64.whl (762.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.38-cp311-cp311-macosx_15_0_arm64.whl (621.6 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.38-cp310-cp310-win_amd64.whl (204.9 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.38-cp310-cp310-manylinux_2_28_x86_64.whl (761.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.38-cp310-cp310-macosx_15_0_arm64.whl (620.7 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

Details for the file pycglib-0.1.38-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pycglib-0.1.38-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 204.9 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pycglib-0.1.38-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 10061e4fda44c99a8653372e27869a01b69a4718515dc6c05be335466d7d289a
MD5 c40a7d9d705b4fab3ea2fffc68800c98
BLAKE2b-256 bcb49d41da5eb94c4ca2dc9eda4ecef8c68d3efb0ca4204073af80c255f17c3f

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycglib-0.1.38-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b41f266c5444742f053e32e0348809ba32d91caf3451102b1575c09180fd66a0
MD5 3bf048d2af005a6161f08ded1982d33a
BLAKE2b-256 a8fe2f0a311b567a896feb33a892ce41116ec81164df6bccaaee3986c3555623

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pycglib-0.1.38-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 e3d11cf533a8cd7de462976874c3efcd86829cb91dabeffc6f36ae8bc09c47aa
MD5 3a856dddaf3f34dd034e7bd454faf51d
BLAKE2b-256 322110de8700591c823f6cdff54c85326b9dd1de585b9e9b05034d6298eceee7

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pycglib-0.1.38-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 204.9 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pycglib-0.1.38-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 4f99fbe6af47e1f388068113985373f7abea819013a3d25f8138ea7248141b14
MD5 ac59bc576678be48833f268bcb7aa41b
BLAKE2b-256 a7a25092082f609f1aeaa0f5a2735b1e5f4e95690b4978684c26068f6d17b10e

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycglib-0.1.38-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d21f21e0399dcfe37c3c57ace1fa9ec8732ffed97feb0b4d28deeeb22853bb43
MD5 662fae92852a32f75e7f3f955227a369
BLAKE2b-256 a2a8d9885e2eeaf0749b3615f8075338c26463db3ce97e62ec57271e524eec62

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pycglib-0.1.38-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 23e068698f7a3c6e83defac3d4143b9ebe05a6fed183187eb884b1b6d5de6227
MD5 6b949cfc5e6f140d866686b105cea335
BLAKE2b-256 9f2ec48166cdf8e06a5646b3a59225c345de22ca119e8a1f779a327c24b6095c

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pycglib-0.1.38-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 205.5 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pycglib-0.1.38-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2fe40c39641f6aeeeeba9177b8d733fa12132cf15cc6173353ec7bd38fa86454
MD5 c322bcf474daeccc1a79af1307e9b658
BLAKE2b-256 a12bafb72ef1c98a09abad16cbb8ab891b800e5e00ebd0a935149dce282f2a84

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycglib-0.1.38-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bc27cc0697c7cd8cc3945fd0085d966c61d959019dee12a24575ca8087adb718
MD5 2b47a912bbb97d94ad6fd53a4b97355a
BLAKE2b-256 285ae8e1495a11158aa596366be1a6e811066178709f0cbaf27649e76f4e474f

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pycglib-0.1.38-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f34cd9424abdfd0f9e76ae72e44a22dc2ea336ecebac9fb8c9d1587b0c48e8dd
MD5 677832cfdc6495ce7c80fb20cc9ffb8f
BLAKE2b-256 aa79a9a1f9fe47f36506520950c44c6846b08aba958d8a623dc99c03434c1d2b

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: pycglib-0.1.38-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 204.9 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pycglib-0.1.38-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 febe329e50750fa492558ff91ba0d06b8fad5d1181459131e12610c0f06dcdbf
MD5 194b5a2fa80d51e8228ff6415c8b5d11
BLAKE2b-256 ca1f07b2e206aef41cc7e83cbfc3b545437cd3314185bf57735806f95e492160

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pycglib-0.1.38-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7ff5bb3da689d041354c63bef4bb3503bf13766829ad755c00f6887c56f8f434
MD5 889d38a1f08d0584ec9c631897f82e21
BLAKE2b-256 ac7c60134787b073f41be2dabed4ff332a8700bc531a633395d5e57007fdb0df

See more details on using hashes here.

File details

Details for the file pycglib-0.1.38-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for pycglib-0.1.38-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a974d4a4cce5848488b76ef74146e3562f0f2a81ebfb524da7f983172b18ac7f
MD5 4e054699930b4a0cc0fbc5cbff0b5197
BLAKE2b-256 848ed2b6c0e7f10c94f7e0654305bdacd8a770922f6ad3318dc498d3576cfbb6

See more details on using hashes here.

Supported by

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