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

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.63-cp313-cp313-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.63-cp313-cp313-macosx_15_0_arm64.whl (848.8 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.63-cp312-cp312-win_amd64.whl (419.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.63-cp312-cp312-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.63-cp312-cp312-macosx_15_0_arm64.whl (848.8 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.63-cp311-cp311-win_amd64.whl (417.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.63-cp311-cp311-manylinux_2_28_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.63-cp311-cp311-macosx_15_0_arm64.whl (847.2 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.63-cp310-cp310-win_amd64.whl (417.4 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.63-cp310-cp310-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.63-cp310-cp310-macosx_15_0_arm64.whl (846.1 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pycglib-0.1.63-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0b174bdf9fa54996518e58b9bca9a4dd4b9ee3ea82ab8d792a3639850eda241c
MD5 2f0e1a1810154b754911f8892843c3da
BLAKE2b-256 5cc9ceab2c05f702b2f72ab4a075700a9340888d45fd64a9381166033e572508

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.63-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7f77d2b90771fc1194e619ae6af9de7cea9132f4cd49ebcae0a5b8334f335ad0
MD5 833899334e26f2797b7ea999902a6008
BLAKE2b-256 4d28878c6bd473a7bbaff840afec6c939e8babfc32b029db1379cb7546a12ade

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.63-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a26556ab996b4975e06f11d6ae8b9cc67aa4fdce74f28bf5425f0729d7434f22
MD5 fdab8ef62b12da25b4c765455ac25f35
BLAKE2b-256 ea43831e3ee5e09fd614bcda1973729e0082d801fba84b714d22535e787db633

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pycglib-0.1.63-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 ac602d1a31839f4dd3675d43e73c8c1b31ae39af0e3e11f0f44ad8e9db545c7d
MD5 4466a5f11387e3d5773d5bbbcd909051
BLAKE2b-256 602cb11e163d2e33b2ecba5b9a76b9c4ce1668dade2f1158608d812dbaab7e6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.63-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1da63ba5a4a66737b5572d1964c98efe32d918a408af52f441ebbcf8fda97a6b
MD5 5f7e8ec6296feb5dd9ead550b12c3828
BLAKE2b-256 a2c2e1cc9a73e77b48c6abffb288fd2a8b4494a8b9212cd5202fc79b66113e56

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.63-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8ae85cbeff706a5ea97c6f3bce475b4b4bf9b091ae1903fe1ac034f61c490033
MD5 b612e76ae2e62402ea9b87a47aba33d8
BLAKE2b-256 6ac7a1afa9b6d72f8950d32c3b0ea12ebdc36341a8c041504238817ca35e89c3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pycglib-0.1.63-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cae9930f57d1a8992b5b45547fad8327e8f7af82ca4c2294e8b18ccaae90e03d
MD5 1c25fe729d1a396854202054095cee09
BLAKE2b-256 aac51d0641a8be42d15e746c63bd1874fa2f7b4e7c4ebdc7124a49af69ef0784

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.63-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1098b83cae71a4def0a06b6028039e501534ffee7c529f85be25303c832126e7
MD5 d18d65decad9a9ab2cf5799306e3fa59
BLAKE2b-256 6829a86107304777fe2ff9c4ceb2004d640ba9d0a13cddfcf22eb8f458cba637

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.63-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 9b490865eb752f2b9ae790f7d056be639077efcbe229c58e33cd05787904a83e
MD5 a9964aeff20dddcccd4b8e11a96166a3
BLAKE2b-256 cf3ace320179259dda8eaf5c9a87794b1245b91b38e2545f617e6121ec619b30

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pycglib-0.1.63-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 968044760288839ef2033ac7e74b3b9879bccb018acc2883ae4202dadb3f5e80
MD5 022de7d658b321e373c7244ef983b109
BLAKE2b-256 8c6d46da3e842289e8b25a0f10163312b77127408165eadb63becc050e6ca691

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.63-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4bf649434d57ab7b20fc90639a8f241df651bc28cbb0035e950fce732c041ba3
MD5 f7e21bbacc3eafa2ff169269d510d363
BLAKE2b-256 abd6f65c365080ca0a6ab9860202872469708ced9c08c7512171b6c8ef983da5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.63-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5c8a779dd4eea0faa58da38d51f8dad6cefb7add235010795f29b2445d1bad96
MD5 824c6b4d07946868c6b3a64ef921867b
BLAKE2b-256 10714eb2678d45d281dbb9f6518e714aab3e57cc773989d57770e6621a1b7450

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