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
Metadata
Release files for pycglib 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 13.8 MB
Release files / pycglib-0.3.5-cp313-cp313-win_amd64.whl
| Download URL | pycglib-0.3.5-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 701.5 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
1991a64a4ecdb9c97ac776a7bdf72c24d7d1865740ea0ef3d0ab06db47fd480c
|
|
BLAKE2b-256 checksum How to use checksums |
3af5426274220095ef45db3b5ac891122af7f8cb53215fc9fd7ddbaa67ecd2cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp313-cp313-manylinux_2_34_x86_64.whl
| Download URL | pycglib-0.3.5-cp313-cp313-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.13 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
08dccc509582ef6af1ffc09ba18dd15f332be1a6d8e0fc59a87f7d5968616edc
|
|
BLAKE2b-256 checksum How to use checksums |
63bb0f17d6a58a08621a3de73070b0494dd39f02910a59a2f85a3fa720715d0a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp313-cp313-macosx_15_0_arm64.whl
| Download URL | pycglib-0.3.5-cp313-cp313-macosx_15_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.13 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
dfb01e9bb55649abf8263e600e41e47aaa08fe98c9aacbe1b84fd22b9e6af64a
|
|
BLAKE2b-256 checksum How to use checksums |
ea6ae98994c1db4e8070a3344eeb539542cec9e86ea6f833f18b344f35657a5f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp312-cp312-win_amd64.whl
| Download URL | pycglib-0.3.5-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 701.5 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bd8b023814a58dce1b366000f6e869985c6fefe3d25110b7a1af5ddf1beb66bd
|
|
BLAKE2b-256 checksum How to use checksums |
13d3f2e5a8a3b43c919c24cd16e6c52acb6ff14bdb82160be5995606d0499898
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp312-cp312-manylinux_2_34_x86_64.whl
| Download URL | pycglib-0.3.5-cp312-cp312-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.12 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
c4edf50baadf46a31fb44a8161c195eddf0407ce9eb6c9abb8f23c10784976f9
|
|
BLAKE2b-256 checksum How to use checksums |
9bfeab498c747fd84a10be6e21aa8191ae26356623a0205dfef9963c21d9b336
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp312-cp312-macosx_15_0_arm64.whl
| Download URL | pycglib-0.3.5-cp312-cp312-macosx_15_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.12 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2b876f0b339ab76e6c9daa59c820bc250d2cf3574d91422f7ab1d31c751860c3
|
|
BLAKE2b-256 checksum How to use checksums |
7cba14fa960753abdb99cdb92528be1d740013e49a69614df6f365894d111269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp311-cp311-win_amd64.whl
| Download URL | pycglib-0.3.5-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 697.0 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
27753aae842715bbc5dddf5240ea698924efadd7aa597e3ec2e9eae097b43ca5
|
|
BLAKE2b-256 checksum How to use checksums |
85a03a1913e6e1b96ceb5abfb11b4bb9943a9db253dd292348f03173f8979e3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp311-cp311-manylinux_2_34_x86_64.whl
| Download URL | pycglib-0.3.5-cp311-cp311-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.11 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
05bd04bfc91ed4e17e2b2701d920479af2bb7d2e0aef2591bed6f6d4e350b9c5
|
|
BLAKE2b-256 checksum How to use checksums |
842763432d8e0cfec2abadf5d5f8517b07c72d6e3d272e10f0f471ba09131232
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp311-cp311-macosx_15_0_arm64.whl
| Download URL | pycglib-0.3.5-cp311-cp311-macosx_15_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.11 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
1ca8e9026fb4c6cffb5df094bebee9ec6d62a4438babc4e99d6f63b872f85ff1
|
|
BLAKE2b-256 checksum How to use checksums |
52b46b333209ccec7025caaf8c9237befed577a0b5efd3fcc96b6b90da0c8052
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp310-cp310-win_amd64.whl
| Download URL | pycglib-0.3.5-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 696.2 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7a46e9c1c48c2b954ef3e728fa2412064fac93e97f7d24038a56e3cf762fda88
|
|
BLAKE2b-256 checksum How to use checksums |
139c74ed7094cc6e7e50c3728d66ecb4e2e603ae55f663ebbe19c1cc6967c5e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp310-cp310-manylinux_2_34_x86_64.whl
| Download URL | pycglib-0.3.5-cp310-cp310-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 1.6 MB |
| Tags | CPython 3.10 Linux glibc 2.34+ x86-64 |
|
SHA-256 checksum How to use checksums |
222bb4a2c9afc73b85bbc34e7f2e3bede315ddda527d65ebe4baffb3394a5b3d
|
|
BLAKE2b-256 checksum How to use checksums |
e0bf06c5e299af2922dbb1e10ea74d2b98aa00f51a80412e0b1bbf24e2fa1d88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / pycglib-0.3.5-cp310-cp310-macosx_15_0_arm64.whl
| Download URL | pycglib-0.3.5-cp310-cp310-macosx_15_0_arm64.whl |
|---|---|
| Size | 1.2 MB |
| Tags | CPython 3.10 macOS 15.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9e61f3b9fea88d83fa3cb1ac8439710e81383eac66cd9eddb90ee9d6630be69f
|
|
BLAKE2b-256 checksum How to use checksums |
ea7c3fc1dbcf9934ea5618d4d67119523d02b682d9ac4e881eb8f5861b267040
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for pycglib 0.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.