Skip to main content

PyPI GitHub

compute-geometry is a research-focused computational geometry library for Python. This library is designed to provide a set of tools and algorithms for solving geometric problems.

Installation

You can install the compute-geometry library using uv:

uv add compute-geometry

Getting Started

import cgeom

Here are some examples to demonstrate how to use the Geometry library:

import numpy as np
from cgeom.algorithms import VoronoiDiagram
from cgeom.visualization import plot_voronoi

# load a set of points
points = np.loadtxt("examples/points1.txt")

# create a voronoi diagram object
voronoi = VoronoiDiagram(points)

# build the voronoi diagram
cells = voronoi.build_voronoi_diagram()

# plot the voronoi diagram
plot_voronoi(voronoi, cells)

Elements

License

This library is licensed under the MIT License, allowing you to use, modify, and distribute it for both commercial and non-commercial purposes.

Start exploring the world of computational geometry with the compute-geometry library in Python!

Metadata

Release files for compute-geometry 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for compute-geometry 0.1.2
File Size Uploaded Provenance Actions
compute_geometry-0.1.2.tar.gz 349.4 kB Without provenance Details for compute_geometry-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for compute-geometry 0.1.2
File Interpreter ABI Platform Actions
compute_geometry-0.1.2-py3-none-any.whl Python 3 none any Details for compute_geometry-0.1.2-py3-none-any.whl

Total release size: 368.2 kB

Release files / compute_geometry-0.1.2.tar.gz

Download URL compute_geometry-0.1.2.tar.gz
Size 349.4 kB
Tags Source
SHA-256 checksum
How to use checksums
62ebd2ab1320d7a26dc3cef2cb248d6c427649e1d01983ddc1a7855b3e8e0658
BLAKE2b-256 checksum
How to use checksums
cf4194821ac74edbb4fb0638e0cfc8889a897b6abe15643146d4599eaf024f14
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / compute_geometry-0.1.2-py3-none-any.whl

Download URL compute_geometry-0.1.2-py3-none-any.whl
Size 18.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
991081e92e13b025de5315ed2fda9c3ab651956855d5916320d14b2ac69b342f
BLAKE2b-256 checksum
How to use checksums
09d13e53353e679b1aaff2f171cd28206459a8d41ab8a9f95e44f66d06b551ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for compute-geometry 0.1.2

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page