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

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.50-cp313-cp313-manylinux_2_28_x86_64.whl (874.8 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.50-cp313-cp313-macosx_15_0_arm64.whl (720.2 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.50-cp312-cp312-win_amd64.whl (290.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.50-cp312-cp312-manylinux_2_28_x86_64.whl (874.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.50-cp312-cp312-macosx_15_0_arm64.whl (720.2 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.50-cp311-cp311-win_amd64.whl (289.5 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.50-cp311-cp311-manylinux_2_28_x86_64.whl (875.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.50-cp311-cp311-macosx_15_0_arm64.whl (718.6 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.50-cp310-cp310-win_amd64.whl (288.9 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.50-cp310-cp310-manylinux_2_28_x86_64.whl (873.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.50-cp310-cp310-macosx_15_0_arm64.whl (717.3 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: pycglib-0.1.50-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 290.7 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.50-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 c069d5241ac8cb1ecd4025c5da12c66c949922fa4660667c8a1b7e40c6368efb
MD5 b51cc0bd5daedc1f8a426a90eadc19fa
BLAKE2b-256 7aab934c1455bb7aa0fe3eeb831efbc8ea067d19ae809837c9eae3cbd5291c52

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.50-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 52e3f3c0ca92b1bb8da319249435d51aeb9259e38eb23c031809432b81615c92
MD5 55a3350d63ccc7d94832b76c84541b07
BLAKE2b-256 da6276926d9b11cc551ba873e00f3e5e5cf4415650b5705170ae081d2049cca9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.50-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7fe7db93a2b9ed8de0870ebd0c66cf2d12f32ea51a87ae6f005f26af84eda63e
MD5 7cdeac542940d7e0b1f751da84b0b465
BLAKE2b-256 1da5a6e88ad7f049937fd476e78152805ac41c8d0cf4e7956495e4b48971a2d9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.50-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 290.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.50-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3988202a4ab71ac5883be3a9887c00c42bb83544e3df7bbad050b406c9a2b297
MD5 49db8f5ebee46ae943ff26539b6d10b7
BLAKE2b-256 6b6c5e48f1eb6fb8f6e676dbae0cd479ff37ba5b3faaebcf459a053cf086f1a4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.50-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 06437aae28e2414657bc6885fdda638661e5fc0a51795e1a09017bcae4aada5a
MD5 2a2dac70488f777313457499c606c55e
BLAKE2b-256 63f8323096ca8a2a1d08e8cc36f62962b796011d63ad41d3c868c33492c4a600

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.50-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 00f5c9307d7cd01a9ad36811283595e89db49035e3e212ba9df6540fe6128c57
MD5 8f0745588345e280021d38156629a564
BLAKE2b-256 786f54f852e53270a6e3ff36aa176f8a021011f779022a395c84f35dfb902ef5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.50-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 289.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.50-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 41ebef8ff0a3ceca01c8dd2609497e3d526173b703aa5c9ed07f2a151b7f8cfd
MD5 19b67920dc8640b6217c2d58cd146770
BLAKE2b-256 efcbc5966670a486cf8d21a748c49666a2c804a0c7895fbee6f681d7931bc58d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.50-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 05d57a784d8c9ed717d65c564f14f56849fbb74c1836758b6b32add008c499eb
MD5 3c4de04524a1ec3fe6ab09b74dca0c2a
BLAKE2b-256 fc1e2de4175c3b8a5655de54b6a92855717693d16de903ec921ab87882339022

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.50-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4a95cc205faeea86d4524c7cbea1a6350a0b4b929be869aab4c8938cbdd5a623
MD5 412ff29a1432b46dcc01983fa0c35362
BLAKE2b-256 28290b53f5f30fa68b81e05489ed8457ddb9132a0e11f8d03cc14c1e3fc7bf76

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.50-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 288.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.50-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 dcf9fe1f660ad080ff3d4255ab15523c66543b902009d7d9ebc5f18274af0f25
MD5 a921306b6b2790a87d5a5af0d37c206d
BLAKE2b-256 9209ee420c64a31ac7c1c7348bc5a1051fac18e9fe5010092fb1ca4b625bd1bd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.50-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 01a1dcc77cb7d0f9a0e507e8a2703a639410c698ef903348a4df7ae8ee07e569
MD5 aabc6d629e9c96432b6fb9f024b273d9
BLAKE2b-256 0dc982837329e9ade85075a57354875258cc67d7a167bcb069164dee8261a7bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.50-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 7459e4e27519c6507ac512c99cca38c04597ca22222951c18928a99e3f3d9ff6
MD5 c2892247c225882f5ece2e2b85ebf75e
BLAKE2b-256 7328e9635edb5a46619bf0aa4775937b750e022f3e23cfb18b326fa434db8ab9

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