Skip to main content

CI codecov PyPI Version Conda Version Ruff GitHub License

XRLint - A linter for xarray datasets

XRLint is a linting tool and library for xarray datasets. Its design is heavily inspired by the awesome ESLint tool.

Features

  • Flexible validation for xarray.Dataset and xarray.DataTree objects by configurable rules.
  • Available from CLI and Python API.
  • Custom plugins providing custom rule sets allow addressing different dataset conventions.
  • Project-specific configurations including configuration of individual rules and file-specific settings.
  • Works with dataset files in the local filesystem or any of the remote filesystems supported by xarray.

Inbuilt Rules

The following plugins provide XRLint's inbuilt rules:

  • xrlint.plugins.core: implementing the rules for tidy data and the CF-Conventions.
  • xrlint.plugins.xcube: implementing the rules for xcube datasets. Note, this plugin is fully optional. You must manually configure it to apply its rules. It may be moved into a separate GitHub repo later.
  • xrlint.plugins.acdd: implements rules for Attribute Conventions Dataset Discovery. Note, this plugin is fully optional. You must manually configure it to apply its rules.

Release files for xrlint 0.6.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 xrlint 0.6.0
File Size Uploaded
xrlint-0.6.0.tar.gz 107.2 kB Details

Built distribution (wheel)

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

Total release size: 272.5 kB

Release files / xrlint-0.6.0.tar.gz

Download URL xrlint-0.6.0.tar.gz
Size 107.2 kB
Tags Source
SHA-256 checksum
How to use checksums
069a501f4f84cbc1cb865ddc5fbfe7275ce526f802ad613dc10a0ec1af26ef49
BLAKE2b-256 checksum
How to use checksums
c45dcc6ca87635cbba0f005a140ee9208040d6b525b303d401e0cf1a79424d95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / xrlint-0.6.0-py3-none-any.whl

Download URL xrlint-0.6.0-py3-none-any.whl
Size 165.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5129be408d07c971d6a80b53d9454a012e41373016ce1a6a41c3d34ce9bcd0e3
BLAKE2b-256 checksum
How to use checksums
47771fb5d601d3dd6a499106d4e1ea87f3ecd78192ec210b76c3dc68128b548d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

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