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
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 Distribution
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
805cfabddb10efa6df0012f8beb178a3d781a5d31c6308917419e3cd5857d04d
|
|
| MD5 |
23109eb55c0c9bd2fd7ede70cfb37272
|
|
| BLAKE2b-256 |
88dee7eaf6d370c44f8973e9fbb62d691fc0425babe89f47cb1419b4916836cc
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluid_provider_sdk-0.1.0.tar.gz -
Subject digest:
805cfabddb10efa6df0012f8beb178a3d781a5d31c6308917419e3cd5857d04d - Sigstore transparency entry: 1092285263
- Sigstore integration time:
-
Permalink:
Agentics-Rising/forge-cli-sdk@690d7bd70b6533e2626de308b3ad93f6f8c33dc1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Agentics-Rising
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@690d7bd70b6533e2626de308b3ad93f6f8c33dc1 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fluid_provider_sdk-0.1.0-py3-none-any.whl.
File metadata
- Download URL: fluid_provider_sdk-0.1.0-py3-none-any.whl
- Upload date:
- Size: 20.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b084254994aee4c3587a22da029f94948dc96b41e52a374348979a4ed1f6f7e3
|
|
| MD5 |
e472b9ddb6f6839a4170e48877e387bd
|
|
| BLAKE2b-256 |
c62b8397af8a6ce23c83a84476a8f031217b4d28c4a1fc31cba2c1b382fe7cc3
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fluid_provider_sdk-0.1.0-py3-none-any.whl -
Subject digest:
b084254994aee4c3587a22da029f94948dc96b41e52a374348979a4ed1f6f7e3 - Sigstore transparency entry: 1092285278
- Sigstore integration time:
-
Permalink:
Agentics-Rising/forge-cli-sdk@690d7bd70b6533e2626de308b3ad93f6f8c33dc1 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/Agentics-Rising
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@690d7bd70b6533e2626de308b3ad93f6f8c33dc1 -
Trigger Event:
push
-
Statement type: