Skip to main content

SDK for building FLUID data product providers — zero dependencies

Project description

fluid-provider-sdk

Zero-dependency SDK for building FLUID data product providers.

Why a separate package?

Third-party provider authors only need the BaseProvider ABC and a handful of types. Installing the full fluid-build CLI (~40 dependencies) just to develop a provider is overkill. This SDK package has zero external dependencies.

Install

pip install fluid-provider-sdk

Quick Start

from fluid_provider_sdk import BaseProvider, ApplyResult, ProviderError

class MyCloudProvider(BaseProvider):
    name = "mycloud"

    def plan(self, contract):
        return [{"op": "create_table", "resource_id": "t1"}]

    def apply(self, actions):
        import time
        start = time.time()
        results = []
        for action in actions:
            results.append({"op": action["op"], "status": "ok"})
        return ApplyResult(
            provider=self.name,
            applied=len(results),
            failed=0,
            duration_sec=round(time.time() - start, 3),
            timestamp="",
            results=results,
        )

Register via entry point in your pyproject.toml:

[project.entry-points."fluid_build.providers"]
mycloud = "my_package.provider:MyCloudProvider"

API Reference

See CREATING_PROVIDERS.md for the full guide.

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

fluid_provider_sdk-0.1.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

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

fluid_provider_sdk-0.1.0-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file fluid_provider_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: fluid_provider_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for fluid_provider_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 805cfabddb10efa6df0012f8beb178a3d781a5d31c6308917419e3cd5857d04d
MD5 23109eb55c0c9bd2fd7ede70cfb37272
BLAKE2b-256 88dee7eaf6d370c44f8973e9fbb62d691fc0425babe89f47cb1419b4916836cc

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluid_provider_sdk-0.1.0.tar.gz:

Publisher: release.yml on Agentics-Rising/forge-cli-sdk

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file fluid_provider_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fluid_provider_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b084254994aee4c3587a22da029f94948dc96b41e52a374348979a4ed1f6f7e3
MD5 e472b9ddb6f6839a4170e48877e387bd
BLAKE2b-256 c62b8397af8a6ce23c83a84476a8f031217b4d28c4a1fc31cba2c1b382fe7cc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for fluid_provider_sdk-0.1.0-py3-none-any.whl:

Publisher: release.yml on Agentics-Rising/forge-cli-sdk

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