Skip to main content
STScI Logo STScI Name

sphersgeo

build tests readthedocs Powered by STScI

sphersgeo is an object-oriented spherical geometry package written in Rust with Python accessor classes and methods.

pip install sphersgeo

Planar geometry packages typically classify geometries into points, linestrings (also called polylines), and polygons (along with multi-geometry collections: multi-points, multi-linestrings / multi-polylines, and multi-polygons). The spherical geometry analogues to these are spherical points, arcstrings, and spherical polygons.

Planar Spherical Planar Collection Spherical Collection
Point SphericalPoint MultiPoint MultiSphericalPoint
LineString ArcString MultiLineString MultiArcString
Polygon SphericalPolygon MultiPolygon MultiSphericalPolygon

Sources and Further Reading

  • Toddhunter, I. (1886). Article 99. In Spherical Trigonometry: For the Use of Colleges and Schools (pp. 73–74). print.
  • Miller, Robert D. Computing the area of a spherical polygon. Graphics Gems IV. p132. 1994. Academic Press. doi:10.5555/180895.180907. print.
  • Spinielli, Enrico. 2014. “Understanding Great Circle Arcs Intersection Algorithm.” October 19, 2014. https://enrico.spinielli.net/posts/2014-10-19-understanding-great-circle-arcs.
  • M.A, Jayaram & Fleyeh, Hasan. (2016). Convex Hulls in Image Processing: A Scoping Review. American Journal of Intelligent Systems. 2016. 48-58. 10.5923/j.ajis.20160602.03. pdf.
  • Klain, D. A. (2019). A probabilistic proof of the spherical excess formula (No. arXiv:1909.04505). arXiv. https://doi.org/10.48550/arXiv.1909.04505
  • spherical_geometry
  • s2geometry

Metadata

Release files for sphersgeo 0.2.0

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

Source distribution (sdist)

Source distribution for sphersgeo 0.2.0
File Size Uploaded Provenance Actions
sphersgeo-0.2.0.tar.gz 486.0 kB With provenance Details for sphersgeo-0.2.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for sphersgeo 0.2.0
File Interpreter ABI Platform Actions
sphersgeo-0.2.0-cp311-abi3-musllinux_1_2_x86_64.whl CPython 3.11 abi3 Linux musl 1.2+ x86-64 Details for sphersgeo-0.2.0-cp311-abi3-musllinux_1_2_x86_64.whl
sphersgeo-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl CPython 3.11 abi3 Linux glibc 2.28+ x86-64 Details for sphersgeo-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl
sphersgeo-0.2.0-cp311-abi3-macosx_11_0_arm64.whl CPython 3.11 abi3 macOS 11.0+ ARM64 Details for sphersgeo-0.2.0-cp311-abi3-macosx_11_0_arm64.whl

Total release size: 2.4 MB

Release files / sphersgeo-0.2.0.tar.gz

Download URL sphersgeo-0.2.0.tar.gz
Size 486.0 kB
Tags Source
SHA-256 checksum
How to use checksums
352f26a4459cbc44cfccb89290a63595a284f6bd823e1ad9701a52513bdd4f99
BLAKE2b-256 checksum
How to use checksums
5f4b8b33a5009051cacc3f87f77af05179021806885656dd58c25eaf75cfbb37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

Release files / sphersgeo-0.2.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL sphersgeo-0.2.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 693.1 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
aceff225a6a30d210f3c4ee8e7c9ed8c4af3aad9c6c43148ed242de210bd28da
BLAKE2b-256 checksum
How to use checksums
3f46a6ca9d06f7225fcaeb5d46ca062d640f7454108d1d13c746e4d9742c71c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

Release files / sphersgeo-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl

Download URL sphersgeo-0.2.0-cp311-abi3-manylinux_2_28_x86_64.whl
Size 616.7 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
5cdd32ef3d84e52d279f913c319de80407e24c1eb6057f03bfa20d0d86ceb060
BLAKE2b-256 checksum
How to use checksums
2228ad7e81293bb71be91658f32c98b28cead2b60328b30002856fe156a49adb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

Release files / sphersgeo-0.2.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL sphersgeo-0.2.0-cp311-abi3-macosx_11_0_arm64.whl
Size 561.9 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
633017d44bd930c9b1851da4d6eba69a50df4e036a565aab01692a82c953b814
BLAKE2b-256 checksum
How to use checksums
95234ec8e13aa6925f12efd1269787c54f1978dc048e19d13c6d9d395f64a799
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

Security for sphersgeo 0.2.0

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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for sphersgeo-0.2.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 20, 2026.

Transparency log

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