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.4.tar.gz (217.2 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.4-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xarray_validate-0.0.4.tar.gz
  • Upload date:
  • Size: 217.2 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.4.tar.gz
Algorithm Hash digest
SHA256 b4f89f6a7ecb8290095609fe3c58de4f59a7af96b2ad411c10f5978a839b24e9
MD5 dc23325cb5c1598ec3d57b44fe0bfe54
BLAKE2b-256 a2da9aa1c447dd44a67675999414b747ca1116585e01167d1095b4fc3056bec4

See more details on using hashes here.

Provenance

The following attestation bundles were made for xarray_validate-0.0.4.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.4-py3-none-any.whl.

File metadata

File hashes

Hashes for xarray_validate-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 34ab127a74f96830204603fe3a8ca00c380c062bad636ffdddfb980d9e5b67e4
MD5 9f208613d7a74c3854cd6db207f42149
BLAKE2b-256 8b11d184b707e9c278eeeac06b2732d78c2f5f8e8b00c64f1f5adbbe9a890a84

See more details on using hashes here.

Provenance

The following attestation bundles were made for xarray_validate-0.0.4-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