Skip to main content

A lightweight xarray validation library

Project description

xarray-validate

PyPI version GitHub Workflow Status (branch) Documentation Status uv Ruff

Motivation

This is a maintained refactor of xarray-schema. I needed an xarray validation engine for one of my projects. I saw in the xarray-schema library a good start, but both its maintenance status and the foreseen integration of its feature set into the much larger Pandera library seemed uncertain. I therefore decided to fork the project, refactor it and add the features I was missing.

Features

  • ⬆️ DataArray and Dataset validation
  • ⬆️ Basic Python type serialization / deserialization
  • Construct schema from existing xarray data
  • 🚫 JSON roundtrip (not guaranteed to work)

⬆️ Inherited from xarray-schema 🚫 Won't do / won't fix

License

This project is distributed under the terms of the MIT license.

About

xarray-validate is maintained by Vincent Leroy.

The xarray-validate maintainers acknowledge the work of the xarray-schema project creators and maintainers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

xarray_validate-0.0.3.tar.gz (216.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xarray_validate-0.0.3-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

Details for the file xarray_validate-0.0.3.tar.gz.

File metadata

  • Download URL: xarray_validate-0.0.3.tar.gz
  • Upload date:
  • Size: 216.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xarray_validate-0.0.3.tar.gz
Algorithm Hash digest
SHA256 07a0d606f2bf0eee9154bbee35fb2e2a0bb2750bd1cb198f3524fd2a78bb8e70
MD5 c029d7be5d7b7cd53ffe89b586d9fc5f
BLAKE2b-256 921f92db652d47865e5ea3ecab4d2e19580bb1da81f52e595397e909e75a603f

See more details on using hashes here.

Provenance

The following attestation bundles were made for xarray_validate-0.0.3.tar.gz:

Publisher: release.yml on leroyvn/xarray-validate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xarray_validate-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for xarray_validate-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 021cc6c803c888153989419a50c7772fe111f144a87e2020f36a82cecab710e9
MD5 e0d6ad40048f84632926e298e4878cc1
BLAKE2b-256 24c83f40a4d39c02d2493bacd3425b7f4b50c0483cec5007d4d99b5600b4746c

See more details on using hashes here.

Provenance

The following attestation bundles were made for xarray_validate-0.0.3-py3-none-any.whl:

Publisher: release.yml on leroyvn/xarray-validate

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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