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

Uploaded CPython 3.13Windows x86-64

pycglib-0.1.59-cp313-cp313-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pycglib-0.1.59-cp313-cp313-macosx_15_0_arm64.whl (815.4 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

pycglib-0.1.59-cp312-cp312-win_amd64.whl (385.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pycglib-0.1.59-cp312-cp312-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pycglib-0.1.59-cp312-cp312-macosx_15_0_arm64.whl (815.3 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

pycglib-0.1.59-cp311-cp311-win_amd64.whl (384.4 kB view details)

Uploaded CPython 3.11Windows x86-64

pycglib-0.1.59-cp311-cp311-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pycglib-0.1.59-cp311-cp311-macosx_15_0_arm64.whl (814.1 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

pycglib-0.1.59-cp310-cp310-win_amd64.whl (383.7 kB view details)

Uploaded CPython 3.10Windows x86-64

pycglib-0.1.59-cp310-cp310-manylinux_2_28_x86_64.whl (1.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

pycglib-0.1.59-cp310-cp310-macosx_15_0_arm64.whl (812.7 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

File details

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

File metadata

  • Download URL: pycglib-0.1.59-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 385.9 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.59-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 b79898d5f39f367eff371d06d2100b1692e656ce7ca8bf5edf85472f05f5aac7
MD5 826f05b7a31afccbc8037d5f04d70a60
BLAKE2b-256 5abd1ccd6f607e0879a393f0f1222b345969986f607cfc2fe5ed60992d0658a7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.59-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b1b63dc062c998fdf2323745198d170a2660fc25517def99d0a2f58678333912
MD5 f789eeb99a129e4992674474e4c585da
BLAKE2b-256 18c02f0b24ac190213cfd026732b6f3f4037b697df73a3988cc8d3b46ed7bb34

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.59-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 b475fd58b54a0be5d1588ff7bcebc05fb9f49c4763c55057e099882e931e253a
MD5 d15da9d928ee1c68c3e6c16f04f5ecb3
BLAKE2b-256 3f17c998baa4a88971b6ee6de1bc6975fdccccd8c2e809b40b0e10a775527a99

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.59-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 385.8 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.59-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 32283c33062124761851d4343627fc634596d6ae5163db82c42d25d4583c3244
MD5 2aafea287a64a80671cdd2f234e4b211
BLAKE2b-256 731f361c5c8e4a5f2549445e2d6cdf63c0b24c748b4ea46ae61987670f745fd3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.59-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c427227780ddc6d35e462c415199bdcbad989c3b81d4f2fc7aae35ee19286267
MD5 02d3bcee6eacbabba53610866578ee1b
BLAKE2b-256 82debd35087ccf3c3292efd6904331c14d9c4b00c90dcf3ee43386e7c9463a74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.59-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 af5230d76e6e0eea37b513b40ccc434499633b7973f1bafa2c2f23315d6b5721
MD5 791322b24c339e1169e0085d814210b8
BLAKE2b-256 3d1ead8ceb98e335febda478208013809c85a1ee26718061101caf0cf1c99e64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.59-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 384.4 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.59-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 74650b3a9b492d901624dfc7db468687c90ffb4c84f681668e149c7cb18702e2
MD5 ef5d89ba7daea7a1a5a17288e47c1ef5
BLAKE2b-256 ca39d1f3c6c8bbc1ac500003b499b4c0c7bdf82f22274b127355e5d32dae16f3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.59-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 95737c91016b5d372ad9c4af7790a0e6d36bc9146b9620cc8f3cbd65ca6463b9
MD5 0f2c3dac7938fa473c70597fb6787b89
BLAKE2b-256 bb7f197e324458a0b390c7c81c30d1eb7ee0199b11bf58ed107a0d484c3f2610

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.59-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 78b1c01abe31cd7be6ed6a25ba83634ed62aab6c26bf23760ce3af6233615649
MD5 157fb0fef00f8bf27343a85121bce64d
BLAKE2b-256 53d4bbfe622ad6619815f0d95fc9086c4d937cca4b4de986ce843e109da762df

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pycglib-0.1.59-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 383.7 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.59-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 33ba31caa5e255f110e40c9102fffdd6708720c7288c42cdc5b63e1034ebc3b7
MD5 633aa981723b28481952330b6a45a7f7
BLAKE2b-256 a495bdd5e0396c1380953e3034d8a55cf6b01685e6431a1a95763d61901f7552

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.59-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 e8871b5f481d0f24ef9f95f4315d2bdf408f3ae992e9f34e57ca57e9d96f04df
MD5 032bf3416f5b6a95d7a711cbd0c1489b
BLAKE2b-256 50be81223390e9b1f38f97981c1a6dfdf35b96fa4d03c0b55810a7c0887837d7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pycglib-0.1.59-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 a24fdca38cc27551720ac5b8e4a7c22e9fc9c6e90984debc29202ba61610c0ee
MD5 5c2236a560e10b070a6f29d3451708a7
BLAKE2b-256 99936fc3115214c411c227a03bf0fa30aac34097d40879e83570d0a79ef7e560

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