Skip to main content

xoak

Tests Coverage Documentation Status Binder

Xoak is an Xarray extension that allows point-wise selection of irregular, n-dimensional data encoded in coordinates with an arbitrary number of dimensions.

It provides a built-in index adapter for Scipy's cKDTree, as well as adapters for index structures implemented in these 3rd-party libraries (optional dependencies):

  • Scikit-Learn: BallTree and KDTree, which support various distance metrics.
  • pys2index: S2PointIndex for efficient indexing of lat/lon point data, based on s2geometry.

Xoak also provides a mechanism for easily adding and registering custom index adapters.

Install

Xoak can be installed using conda (or mamba):

$ conda install xoak -c conda-forge

or pip:

$ python -m pip install xoak

Xoak's optional dependencies can be installed using conda:

$ conda install scikit-learn pys2index -c conda-forge

Documentation

Documentation is hosted on ReadTheDocs: https://xoak.readthedocs.io/

License

MIT License, see LICENSE file.

Metadata

Release files for xoak 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 xoak 0.2.0
File Size Uploaded
xoak-0.2.0.tar.gz 13.5 kB Details

Built distribution (wheel)

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

Total release size: 31.6 kB

Release files / xoak-0.2.0.tar.gz

Download URL xoak-0.2.0.tar.gz
Size 13.5 kB
Tags Source
SHA-256 checksum
How to use checksums
04700c697444ab734581aa0fd5b30d4ca70018ee491472643c5286788cf9e797
BLAKE2b-256 checksum
How to use checksums
06079799b36a14e2a8c3fbcea8e71275e0eece2e075c36830d50de0109793688
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 Dec 11, 2025.

Transparency log

Release files / xoak-0.2.0-py3-none-any.whl

Download URL xoak-0.2.0-py3-none-any.whl
Size 18.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c6d862d021141f34f3e4c5244d212a2de835e92467e29912f88a14e68fc04a22
BLAKE2b-256 checksum
How to use checksums
acc8a2e1783ac1c69a33559c3dc36bdab594df9319b329998ab75943a1b431c7
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 Dec 11, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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