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

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.45-cp313-cp313-manylinux_2_28_x86_64.whl (820.5 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.45-cp313-cp313-macosx_15_0_arm64.whl (670.8 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.45-cp312-cp312-win_amd64.whl (243.6 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.45-cp312-cp312-manylinux_2_28_x86_64.whl (820.4 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.45-cp312-cp312-macosx_15_0_arm64.whl (670.7 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.45-cp311-cp311-win_amd64.whl (245.2 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.45-cp311-cp311-manylinux_2_28_x86_64.whl (821.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.45-cp311-cp311-macosx_15_0_arm64.whl (669.9 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.45-cp310-cp310-win_amd64.whl (244.5 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.45-cp310-cp310-manylinux_2_28_x86_64.whl (819.8 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.45-cp310-cp310-macosx_15_0_arm64.whl (669.0 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: pycglib-0.1.45-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 243.6 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.45-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2f05adf7a2e56f382a109cd3fdf9dffb75853c8e48314d1ddcd087da3c56e9e5
MD5 077bd11b64142cdfcc0a54bebef8e011
BLAKE2b-256 cdc8b96741e0df369e9628c806d9dcabb5791315d21919cc5793973a6a16bc9e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.45-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b6def61ca65499f4289656fb05dcddf2ac5aad6aad5a831b507ecd9462d1e261
MD5 6e50bfa1aec52d00a3bd6b7fe369bd06
BLAKE2b-256 04b3ddc6eb51474055d960194f0e978f3c9799264fb9f6f6538cd79c7169edd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.45-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f15cdddbf66ccced3b9cb17296ce97f18c98fa8825451a4be03fbac3c58d4da3
MD5 a039bbf7f8e815be14413224b7a3967e
BLAKE2b-256 837f3947a7556975c7208edf81a137358e0d35cc36685e6e96bb8aa67870d3c6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.45-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 243.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.45-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 e41391427413c3bd0aa727cd55bc55c19f2ce299e6e1f4cf4119b9aee8d6222f
MD5 32072064d9421c8d2a620339ca338360
BLAKE2b-256 a4b6e5fabafaf43d1e45ffa894707c646d3cb4d206ae718a733c15a2a09696fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.45-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 3300cb1d13a235b216ccdfcd25a0a3187b6d3240bdfbf5752f8da79cd904f9e8
MD5 15e42eda353cb2a031de89107cb4db09
BLAKE2b-256 683df533675dd01a3c7e96f95e0f826731b02e246bc357edc831db8a10c7c77c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.45-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5a3a522a9a8ab787cb482fdb5afb5a60a24958005e4f7b6f3a805a75b841d0ef
MD5 57e31dacda2c46197903caf37065ae5c
BLAKE2b-256 7902e510f2122a1f279b242cd35074bcb7ccca570519fdd8a451fbab3214255b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.45-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 245.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.45-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 69d8ca079b41cd15903ff575d3851a0ff4898ba5611d6e449397a2d00c7a077a
MD5 13eecbf74453ba60c5a024b3370ceef7
BLAKE2b-256 ba268462147efa7303432150cc745618f9b68a3d16c1e321a615c228fd24d94b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.45-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 928f9520b06c313d05728d417824af99a00e0d78745ce5771d24d5865ec59f15
MD5 ef9e3cf8aaf9428c3be19bb4533b168b
BLAKE2b-256 0f00c9c6d2bf8322d4d542b992017a70dd7ecc1de57ce6cc36196d5599b329bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.45-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 3155dca6e8ea88004d8f9c6e12706db9c1d40138fa930abcb48fc5bfc6ad87b3
MD5 41750dffcba80ef2b84e6dc4b737a4d7
BLAKE2b-256 e1475e8621ecdd3d69825e6de19fc428b6bfc0f5c96e6fe2cba1bc7f34c9062d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.45-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 244.5 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.45-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 5e8d7d00633e4e79d855326a423cc96730f23b348022abb0427e7bc2f121a67c
MD5 66d91e93e2908e8479632b94e212f1c0
BLAKE2b-256 04f84a096cdaf3767c714f88f684e873e0a01e8dffc1135c6241ef0c2bc57de5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.45-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eedbdd101149cf5390a2632437ebd4dffc3a16d0b31bbab73bca2d850fa605f4
MD5 0841335ec0fcc1dba29451a7b774b446
BLAKE2b-256 df4fa61cf1819420cfc473cdc98a733e12fc80d95943a67a17803ba90fc7b329

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.45-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5b18f10d94e10724d02597d9ccb4458412439ba1f5f5a4867a54779f0961307a
MD5 2811a799b5998d7961509d84a409c053
BLAKE2b-256 e2251b73397968271b649e6459db594b4e748f6d02b29157ad15e0a1cbe5e022

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