Skip to main content

Smallest enclosing circle

pip install smallestenclosingcircle

import smallestenclosingcircle
center_x, center_y, radius = smallestenclosingcircle.make_circle(points)

# points must be iterable of points e.g.: 
# numpy array of shape (N, 2)
# list of tuples
# [(1, 2), (8, 9), (4, 5), (-6, -7), ... ]
#
# Note: if no points are input, returns None

Original source from: https://www.nayuki.io/page/smallest-enclosing-circle

Metadata

Release files for smallestenclosingcircle 0.0.1

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

Source distribution (sdist)

Source distribution for smallestenclosingcircle 0.0.1
File Size Uploaded Provenance Actions
smallestenclosingcircle-0.0.1.tar.gz 3.2 kB Without provenance Details for smallestenclosingcircle-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for smallestenclosingcircle 0.0.1
File Interpreter ABI Platform Actions
smallestenclosingcircle-0.0.1-py3-none-any.whl Python 3 none any Details for smallestenclosingcircle-0.0.1-py3-none-any.whl

Total release size: 6.8 kB

Release files / smallestenclosingcircle-0.0.1.tar.gz

Download URL smallestenclosingcircle-0.0.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c167e1000d6f45d82ec6bc12e55327e874988436b2bfd7ca654653c1364c4fb8
BLAKE2b-256 checksum
How to use checksums
2c6037ee58fa40718a5399f6686564ad225cc954815d993d094a85a91f501a71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Release files / smallestenclosingcircle-0.0.1-py3-none-any.whl

Download URL smallestenclosingcircle-0.0.1-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
931d88e523bc4b66f17866737834091afff615c8edb0d7f57da8056c4484014f
BLAKE2b-256 checksum
How to use checksums
d11044f28a7903474339be98a410aa61121cac188b6d156ba5aa2a18c351ce7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.5

Security for smallestenclosingcircle 0.0.1

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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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