Skip to main content

Data Federation Mesh Core Framework

Project description

nv-dfm-core

Core framework for NVIDIA Data Federation Mesh (DFM).

What is DFM?

Data Federation Mesh (DFM) is a Python-based framework for creating and orchestrating complex workflows that process data from various distributed sources and stream results into applications. DFM determines where to run each operation of a data processing pipeline and handles data movement between sites automatically.

DFM is built on top of NVIDIA Flare, which provides distributed messaging, job management, security, deployment, and a simulation framework.

Overview

nv-dfm-core is the core package of the DFM framework. It provides:

Component Description
Pipeline API Declarative Python API for defining pipelines (Pipeline, Yield, PlaceParam, ForEach, etc.)
Compilation IRGen and ModGen convert pipelines to executable Petri nets
Execution NetRunner, JobController, and Router for distributed execution
CLI dfm command for development, federation management, and deployment
Targets Flare (distributed) and Local (multiprocessing) execution backends

Additional DFM packages provide domain-specific adapters:

Package Description
nv-dfm-lib-common Shared schemas and utilities used across adapter libraries
nv-dfm-lib-weather Experimental weather and climate data adapters (GFS, ECMWF, HRRR, SFNO, cBottle)

Installation

pip install nv-dfm-core

Or from source with uv:

git clone https://github.com/NVIDIA/data-federation-mesh.git
cd data-federation-mesh
uv sync --package nv-dfm-core

Quick Start

from nv_dfm_core.api import Pipeline, Yield, PlaceParam
from nv_dfm_core.session import Session

# Define a pipeline
with Pipeline() as p:
    result = SomeOperation(...)
    Yield(value=result)

# Execute with a session (see tutorials for federation setup)
with Session(federation="my_federation") as session:
    job = session.execute(p)
    for result in job.results():
        print(result)

Documentation

License

Apache License 2.0. See the LICENSE file for details.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

nv_dfm_core-3.1.29-py3-none-any.whl (372.3 kB view details)

Uploaded Python 3

File details

Details for the file nv_dfm_core-3.1.29-py3-none-any.whl.

File metadata

  • Download URL: nv_dfm_core-3.1.29-py3-none-any.whl
  • Upload date:
  • Size: 372.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for nv_dfm_core-3.1.29-py3-none-any.whl
Algorithm Hash digest
SHA256 208a60a7e5ed9aee5e73dd9d29bae05545732b7c50154e0a47f62669ecc2e7f0
MD5 eb6d9f8096ba1dde4d95ade427836876
BLAKE2b-256 53cc810cac433afd0ad9174e4d5852c6cd0845de511539cb1dc1c01678e224f9

See more details on using hashes here.

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