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

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.54-cp313-cp313-manylinux_2_28_x86_64.whl (929.9 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.54-cp313-cp313-macosx_15_0_arm64.whl (762.6 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.54-cp312-cp312-win_amd64.whl (332.2 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.54-cp312-cp312-manylinux_2_28_x86_64.whl (930.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.54-cp312-cp312-macosx_15_0_arm64.whl (762.6 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.54-cp311-cp311-win_amd64.whl (330.3 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.54-cp311-cp311-manylinux_2_28_x86_64.whl (931.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.54-cp311-cp311-macosx_15_0_arm64.whl (761.1 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.54-cp310-cp310-win_amd64.whl (329.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.54-cp310-cp310-manylinux_2_28_x86_64.whl (929.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.54-cp310-cp310-macosx_15_0_arm64.whl (759.8 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: pycglib-0.1.54-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 332.1 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.54-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 21542f13f53a3b632f6ff5f0c152598b08813b2e0565863d74819305e65358a2
MD5 d0be482fec39b5ba1b1b5d43b1b3e830
BLAKE2b-256 9450c5ab7e41864a8b1879deee4bb691a704df2cf9f9e9cf39df07fe0a034c79

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.54-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8e104be3e09f01b53044f67f6ccd66d2c06f9bb42dc833f6d60a09f9aa9c8a7b
MD5 217bf60e8ddde64b7fa2d9057ec387c2
BLAKE2b-256 252530bbb84b29cd5c3a93d40f5b01efa25f2e5583d7f0ef113cc9eedfa06e14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.54-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 454bf2148e9ed38e290b8e408ac56af7cccd700fbb3435bc4a99d649b1f89736
MD5 fd4ee4a7f61fad14761f1e4fea7af76b
BLAKE2b-256 3e4e2a18ac051fe6fa5cff9fd8eac31416b2c116c59fcbb7fa08afd29a34342f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.54-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 332.2 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.54-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 dfc1a732a8c79abefaaf530270c843cfb097bcf86a40f27e344b6df781c80e92
MD5 1bebb76b10535ee2176ec04a13d1a1d9
BLAKE2b-256 9312897354dc7fccbfe47e5d0e189f48b9d3a722d8aa973c8d499429e55bbbe2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.54-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95d3f08f21e5f9992408bc6921097a63e9cb1db660545f68e1e40e1f79fd1687
MD5 bdfa984e99e30dd36bfc764dc8e06da7
BLAKE2b-256 2c335a80da954ad1a1efab9aea26e818409545132ba48d098a27710cccbcc46f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.54-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 28fa5fbca4c9be36f12c1b4e6e02de9d9f6defa0eb5ee4389a7321eaa440fec8
MD5 76155de985ba1283d13761145d5795f1
BLAKE2b-256 29301189307f61012f7c761dade2d4be3fd4d04ed451e515845fa6520f644414

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.54-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 330.3 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.54-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3f230a5c6c0e7b7c8a1b16abd403c3e25a1021dbd4b68ee8134400b2cfb37f00
MD5 ecf33736bccb9a1aa40e10d2681d57ed
BLAKE2b-256 ec8dafb76b15687b1226960c3c0e702d9547f3afb96f3b1b2f5f49885c82ffd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.54-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ba443957e15f2ab3819b996320f8902a118e0028e1adb4debb5c92a9a94d004d
MD5 8b7d52a8cbe85739c610ccae373bef0b
BLAKE2b-256 807d47cb0f03fe1ccf5930daa71c006de38336f1a698b247cdbabad76ce70880

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.54-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 1dae54fd15e04e499a6ba91c2028e76a73403fe768546b962d5c046f4eaa631a
MD5 4fd1bddb9ecf2483fe23ce82749f67a9
BLAKE2b-256 728406d308aa94c6f82e1f6b111078df425c3870ff73046b9d03e46c865b70cf

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.54-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 329.8 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.54-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fc619abd546fb9a09d505cc288e284f796fbd76758d7e6b63eb1769211552977
MD5 c86916af6d91e4cc8a4a1a156cdf0465
BLAKE2b-256 a5ba93c18b884f5fa9c2b8108cc5714eb0d05675b4f02c7761f07fee9b3c9c7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.54-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6f459e2b9c850eb1ab36c9bc193fee107f1819730b703ba73030e3b30944f73d
MD5 483436976c78def6125738816eb704c6
BLAKE2b-256 d83c87773ba654fe30cc4ce65f31599ec9e3dd800326649ca5b1f4ff7208514f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.54-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 fa79d418a2b90d4feef2e5aed6386f15979d9bf2f3ef8272a8392efb439b9157
MD5 4add87b97500d9fd605ca5d069a0a946
BLAKE2b-256 0f9a79287595295f90adc438dab6607fae14ef5466f6c991579a417219b01e54

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