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

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.51-cp313-cp313-manylinux_2_28_x86_64.whl (897.3 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.51-cp313-cp313-macosx_15_0_arm64.whl (738.2 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.51-cp312-cp312-win_amd64.whl (308.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.51-cp312-cp312-manylinux_2_28_x86_64.whl (897.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.51-cp312-cp312-macosx_15_0_arm64.whl (738.2 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.51-cp311-cp311-win_amd64.whl (307.2 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.51-cp311-cp311-manylinux_2_28_x86_64.whl (897.9 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.51-cp311-cp311-macosx_15_0_arm64.whl (736.7 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.51-cp310-cp310-win_amd64.whl (306.3 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.51-cp310-cp310-manylinux_2_28_x86_64.whl (896.4 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.51-cp310-cp310-macosx_15_0_arm64.whl (735.4 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: pycglib-0.1.51-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 308.5 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.51-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 913670b27999b6776cc2795c0874932050d32682791207f7a8553e157614a9b3
MD5 05a15ac784332f23e364d7941e14ff99
BLAKE2b-256 a84bd2895dafc96763e3b17b964f2c1e8b766c12d38026e71c06329baa117894

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.51-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 0701b1e3fd93e473aedc9d401b75c0570bc75c46cbf019f855d6f89631934429
MD5 ccb6a79532339d4c4b8cbd0f39cbf0dd
BLAKE2b-256 55df1b700125846b0246fd2b8223b35cf3f92b1582a990410904d7472fd27484

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.51-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b77fb27e3e018a0ce72895162b30ed2a773796bc7477b867b2f6afedadfe831a
MD5 4476e37602b43fec12c940cdcd58dfc5
BLAKE2b-256 2176b941b169c5fc570f506b2b4c1ff828efb34ea543b349ddaabcb08c35d712

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.51-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 308.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.51-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 41e068a069475fc5bf9171a6ceb14f9c4aa0f488b9b95b48c141cc3bcfb8b154
MD5 6b9b5f397b9f28b87a6feb6659e21886
BLAKE2b-256 514cdb159d2c4d5aa3e490f4840149eb41d027686e9148139f89311b11108613

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.51-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7102ee01bc326e8a2a20e79521a40d4b851497e95f18f2a84ad3ce2dfd2f3eeb
MD5 59ebbc61cc2fb53ce24069f20e0f7494
BLAKE2b-256 11f9b8728d509cad2d72506940f133b1a805bb75b2af717a8e082eb8783615f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.51-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 eb7d32cf90a7777571b116e1f645844d998668482eb6c7bf0bced4754b55e9c5
MD5 41252b891e14e8ed14db3b03780b2a16
BLAKE2b-256 0dce1b6fc0153208ac68e15ffc0fd05a11aad4c10124ae7606ea78cf6c7e1b4c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.51-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 307.2 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.51-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 2982757531493b14eac577d451561df12d1de2f0244c1f3a3ba2f6f40317a503
MD5 106a427062dc24cfb3444ec1912936c7
BLAKE2b-256 92aa7b64d533cd715a82dd394f4006d00e95d2c43603d70af688a7ad2eae332f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.51-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dfcdb312653d293a99f99da9e6312c23253805f676b2da8366f318683f1e80c3
MD5 db00381691eb197ec576fdf952b20ead
BLAKE2b-256 dcbc5768bba2419ea6443ae524b4dffe6378cc9063edaaca93a755ad654fa66f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.51-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 d8bc76611c848f64873acca061254aaa5afbc392e755e4aaed64f1b6ecdddc19
MD5 9008bf2fe3ec04e9287b2717e5e90430
BLAKE2b-256 e134ef7e97f6695bad174785bb6409fa729cc460f3bd4f4b308e1943f974454c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.51-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 306.3 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.51-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 ed9c0024515693c7145eaf5b2fdda2780ae1fbe40510203c8096d4d7e3d4518c
MD5 4509d840c32e3e7810c64299f935f686
BLAKE2b-256 f2872765c4b6ed208742bacb791634c7b3d379723b65e1df58079a22f1f92cf6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.51-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cef0741c3f36c5f61fea45ab0c58c16ec4d62cc053148c1ee5a1c52b42621a85
MD5 c29b3d0afd22dac3a4075b3c6abbe535
BLAKE2b-256 6602f61a11144d8876bb3efebe4874008ccda284a91f5d44d013f7fb126140a0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.51-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 cda89e32a864067b0f3f8dfc93c01764adf83603de2aa91bdd7f9937244a1a30
MD5 09bbc9b20a0b5c13c52f3b0f92281f37
BLAKE2b-256 1e7776460e74d83ddbd28804cfb0d42ccef9132e1fe48f04e577969db7404be3

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