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.33-cp313-cp313-win_amd64.whl (165.6 kB view details)

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.33-cp313-cp313-manylinux_2_28_x86_64.whl (712.0 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.33-cp313-cp313-macosx_15_0_arm64.whl (584.4 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.33-cp312-cp312-win_amd64.whl (165.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.33-cp312-cp312-manylinux_2_28_x86_64.whl (712.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.33-cp312-cp312-macosx_15_0_arm64.whl (584.4 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.33-cp311-cp311-win_amd64.whl (165.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.33-cp311-cp311-manylinux_2_28_x86_64.whl (711.7 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.33-cp311-cp311-macosx_15_0_arm64.whl (584.1 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.33-cp310-cp310-win_amd64.whl (165.1 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.33-cp310-cp310-manylinux_2_28_x86_64.whl (710.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.33-cp310-cp310-macosx_15_0_arm64.whl (582.9 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: pycglib-0.1.33-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 165.6 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.33-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 455f0a1ed1f54661859f324e38458a119d0ae47b6bec3a4435b71d60e92a83a7
MD5 471a8f9cd720da0a76def7a255373f17
BLAKE2b-256 8585bbd69cfc2145889bfe59a407bbf6936283838180b2da5e4c88b208909132

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.33-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 85edee5396e1f47174c5b9a598c5bd99894d91b8f528e68765a647f9a640f092
MD5 e58ff6f8c402a75490c477a892e6d8d3
BLAKE2b-256 b660be7b0dc4d1d3cc970b8899c5d2e478ff2d661457cfd6b15078181eeee880

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.33-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b967480a31c6de2fb50fa1b6a7b8c3e89c2c5beb26a497436a6ff33c3cb87de9
MD5 fb012ca5a9d7b7852d8fd4ceabe76be6
BLAKE2b-256 09f2e2164688ff0a758fa88f53469ca81c3534228053848037d04b40147b79e4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.33-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 165.6 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.33-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 16c02c0993c34ffdfbf9a08a48035151faa72347bad432ed53613f7ced11f12a
MD5 200faa581ac38700746f95cc9c18064b
BLAKE2b-256 be6ca6f33b575c80f4efa99fa3962ec54972e09b9a2d2886f0725685dcf5b140

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.33-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4c1e6a115582be97e0eebce4404c77d5b25a1196d7dbc63d19d9ac1718095d01
MD5 b6626ddadb000e3844f2bbe31e4cb704
BLAKE2b-256 757277fd3f5029852f9e6eee2f27d592516918d7688cf5c0776bf50550dad351

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.33-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 ad614a552ec20e3393cb19a3dc557a79510272440cd7dace519706372d52f944
MD5 059e0d9efc6a454bd0cb198b452d8104
BLAKE2b-256 fb6e29b0432e01a1b991fa18d361154f2e0e0542096b262fadbea75ad06e78dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.33-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 165.8 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.33-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ca741e98ad9d0071b992ddc8bcb9cd1b478ef5f4185d8cc1a8f660e83fbc5b38
MD5 4f85ab44a833875c83517253aa7e9814
BLAKE2b-256 443ebc8ec3fc67e05a7a0c61ed1d8153d5789e254d8bfa18c8f0cea6b4951631

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.33-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7de7d1d8e08d2e423c225adb55b22b21b83d32a292a63c9a76a12dbb096061c1
MD5 9119bced7947da6e529f7e6f936fa3da
BLAKE2b-256 1064059a23477e6c8d4a66613a9b8a80832081b6ecbecf88a31dc7e71f5a451d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.33-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 6029643b0a2b9d5fd119c554d6b2bfae5936ca8ed1eedd4feb8f57e1afda0ce7
MD5 108354c381faf8d7638bdda67665a851
BLAKE2b-256 4df3d46a93fcdd73033166c8c8a72ac06e155ad8b0e406e0fca2f4fa08589a5a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.33-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 165.1 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.33-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e96482ba05cd665d94bef240006c826e02708b28eec6212d4c2ebe8c08d952f2
MD5 d501f35d83fc8adb54ee6dc92faacc69
BLAKE2b-256 d03f6ff113bfcf525ca0e2ceab0c759e830338b6a6ac32275eaadb824544bba7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.33-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 832112a52991e0ef252f88359e69fe658dd78d4e6544afea62d03af78f50beb4
MD5 e29aa445f4aa82bc61a1d16fa534e8ff
BLAKE2b-256 3eb674401cc3ee9ba6706ac216ddcfe9477f99aef6606d70333cf4a31a50f102

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.33-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 80f5979087364ba6f43246cb4b8d43e32ea8a7bf3715a7c641f867bd3fca16c8
MD5 249a1a96ee86812e96fb83007bf7b29b
BLAKE2b-256 1f6a2fb89db33575ac9e6997f3223940602a988ba5c31608f56369411211272b

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