Skip to main content

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

After generating and installing the example federation, run:

from nv_dfm_core.api import Pipeline, Yield
from nv_dfm_core.session import JobStatus
from examplefed.fed.api.users import GreetMe
from examplefed.fed.runtime.concierge import get_session

def main():
    with Pipeline() as pipeline:
        Yield(value=GreetMe(site="reception", name="DFM"))

    with get_session(target="local") as session:
        prepared = session.prepare(pipeline)
        job = session.execute(
            prepared,
            place_callbacks={"yield": lambda *args: print(args[-1])},
        )
        job.wait_until_finished(timeout=30)
        assert job.get_status() == JobStatus.FINISHED


if __name__ == "__main__":
    main()

Documentation

License

Apache License 2.0. See the LICENSE file for details.

Metadata

Release files for nv-dfm-core 3.1.59

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for nv-dfm-core 3.1.59
File Interpreter ABI Platform Actions
nv_dfm_core-3.1.59-py3-none-any.whl Python 3 none any Details for nv_dfm_core-3.1.59-py3-none-any.whl

Release files / nv_dfm_core-3.1.59-py3-none-any.whl

Download URL nv_dfm_core-3.1.59-py3-none-any.whl
Size 380.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f6c02e9348e616d7358d1717547ecb2572de6fa197c977304d677fcc5b2b836a
BLAKE2b-256 checksum
How to use checksums
12a341fb5c5f4446a98f745e42e31dfe4964d426557b1518d969bce4beffeb43
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.8

Security for nv-dfm-core 3.1.59

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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