Common utilities for DFM adapter libraries
Project description
nv-dfm-lib-common
Shared schemas and utilities for DFM adapter libraries.
Overview
nv-dfm-lib-common provides common building blocks used across DFM adapter libraries such as nv-dfm-lib-weather:
| Component | Description |
|---|---|
| Output Schemas | Pydantic models for adapter return types: GeoJsonFile, TextureFile, TextureFileList |
| XArray Schemas | Schema definitions and validation for xarray Datasets (XArraySchema, coordinate/variable checks) |
Installation
This package is typically installed as a dependency of other nv-dfm-lib-* packages:
pip install nv-dfm-lib-common
Or with uv in the monorepo:
uv sync --package nv-dfm-lib-common
Usage
from nv_dfm_lib_common.schemas import GeoJsonFile, TextureFile, TextureFileList
from nv_dfm_lib_common.schemas.xarray import XArraySchema, check_dims, check_dtype
Documentation
License
Apache License 2.0. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nv_dfm_lib_common-3.1.27-py3-none-any.whl.
File metadata
- Download URL: nv_dfm_lib_common-3.1.27-py3-none-any.whl
- Upload date:
- Size: 31.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ffade1d9a730dd279aebd9005227b6350a8ef478794963194c4a8658f853d43
|
|
| MD5 |
f1cecdac2d8cdc06506aee17cbcd7b35
|
|
| BLAKE2b-256 |
a0f6d4867e68a9e5eb8035c9aeabf4cedc3582983ace0a17473b86d9828a1d69
|