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

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.35-cp313-cp313-manylinux_2_28_x86_64.whl (729.6 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.35-cp313-cp313-macosx_15_0_arm64.whl (594.9 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.35-cp312-cp312-win_amd64.whl (178.2 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.35-cp312-cp312-manylinux_2_28_x86_64.whl (729.7 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.35-cp312-cp312-macosx_15_0_arm64.whl (594.9 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.35-cp311-cp311-win_amd64.whl (178.5 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.35-cp311-cp311-manylinux_2_28_x86_64.whl (729.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.35-cp311-cp311-macosx_15_0_arm64.whl (594.5 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.35-cp310-cp310-win_amd64.whl (177.8 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.35-cp310-cp310-manylinux_2_28_x86_64.whl (728.1 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.35-cp310-cp310-macosx_15_0_arm64.whl (593.2 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: pycglib-0.1.35-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 178.2 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.35-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9045e3d50630ab8f60603a8bf4064a6fe26f8a26c7b9a3eb09663948eac6665e
MD5 0c98b73d57c3a4735b6bf3aa2c0fbe00
BLAKE2b-256 56693add930742405766d414f413d04d537b4e0a4dfbf4780026e47c5d62c721

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.35-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 db0711185bdecf48a81a0665ae637a8f4ea0e937db05761af511bf8c7770adbf
MD5 1a397e6888503d28cf5cf5256787b50f
BLAKE2b-256 e34d12612357b9c06753ffbe6bdc7774807a33dd95ad4894a138b59622145398

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.35-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5dc4cc45a0ce08feeaf17cbec092707b8e9ebc8b0c31434153f2836fd7efefde
MD5 a5120241dd265593d376c7ddb81c7d5e
BLAKE2b-256 7d186e9cb9eff89c01bc66cfdfe7022b5439243976f8a53c8003cdfa387a65fa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.35-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 178.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.35-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 cc0db29668a8537c2d8a0ef41424e22e418a60ba72e8497f6ab06b8d6d1f47de
MD5 5a6ac2c5ebb09f5fd5244cd33c5b6f5c
BLAKE2b-256 3e907f761ba45090aafa016aab677e515a26562c78838e664b40db1c67c3678c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.35-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bdadfa38e12011774626ef586acfb730f86314392301676d9baac0f828623187
MD5 755c7a06580667402c16f39c6407aeae
BLAKE2b-256 3539c6ff00ece017f6c17f7979d845793d50ba520d8564428c30b1566d4748ca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.35-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 4c7467fd68aca0a63fd1d5dc7395c7b2f3a245e5513f5818b56efb958f2d14a8
MD5 14b021f45a75fb4e881bb1a0542c70a8
BLAKE2b-256 3568218c7336cd72aab20a7d2f1f3fb1458befefea1b48b5e58d4c5a845c6422

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.35-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 178.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.35-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 feda4183882b465dd52e57d63e29478e38f96c2002c5525bc3b4e252f1753465
MD5 f889c7ebd6c6e45ccfee17e351098170
BLAKE2b-256 20fcfad2fb74639a56197e0622ae73c41c148777e5cc5e4984683a51514aeaa9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.35-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2b9efa97d2408f9338378884c76e4a203692c1ab834cde9c5f0494e3b7dbb92b
MD5 4ddb586dad00eb603fa4db17857063b3
BLAKE2b-256 d5b5e6c801b39a05a81080a9b88e6cd5226edc837766b99992eedee2ed73cc3e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.35-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 38b38fb1fe5347c49800a47b35ee6a5e2ebc1e7fe178723fe8520d340132903b
MD5 35f964f818bafe378305a86be0d05968
BLAKE2b-256 750c5228da82bad940684f83a050edf3d507793574f60e4ef4b9c22ae0ce42c1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.35-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 177.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.35-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ab53810b9f41b173784133312129a9717a9737f08c6656ca68df1e352c2353bb
MD5 071109b3fbcf90788243aa713e65240f
BLAKE2b-256 2c8b3d7b62da9e9dd524e8fb03d0506f398d9f75a644e4b9d0f9f185ce6ba647

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.35-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 579ecca86d45c542adeed9446e839a78a62ed3c1816d63ea3ec5f2185e617e4e
MD5 d38b93d85cdb70b6f713b58535a11d8b
BLAKE2b-256 be2fd6cfb90a5fbdaefe392be5456f85c7882b0bf6f2982ce6db61e46a3265e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.35-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d0458e1417661a3857c02de7de509dc5c0da9e1a658e2d429a32a75aa919bdd4
MD5 86fd0b9e27e5bf3ff4913f7d69ef24b5
BLAKE2b-256 30495c0f888083466f9688c71b5e2eed98688ca2d48e27d57233380e957e64f2

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