Skip to main content

Microsoft Fabric adapter for ContractForge Core.

Project description

contractforge-fabric

contractforge-fabric is the Microsoft Fabric adapter package for ContractForge.

The first adapter slice is intentionally conservative. It plans contracts against a Fabric Lakehouse target, renders review artifacts, publishes a machine-readable source-support catalog and documents the runtime boundaries for future deployment work.

It does not yet call Fabric REST APIs, submit notebooks, create Data Factory pipelines or mutate Fabric workspaces.

Install

pip install contractforge-core contractforge-fabric

Use

from contractforge_fabric import plan_fabric_contract, render_fabric_contract

contract = {
    "source": {"type": "parquet", "path": "Files/orders"},
    "target": {"catalog": "workspace", "schema": "bronze", "table": "orders"},
    "mode": "overwrite",
}

planning = plan_fabric_contract(contract)
artifacts = render_fabric_contract(contract)

CLI:

contractforge-fabric plan contracts/orders.ingestion.yaml
contractforge-fabric render contracts/orders.ingestion.yaml
contractforge-fabric sources

Current scope

  • Subtarget: fabric_lakehouse.
  • Runtime status: render-only.
  • Native concepts: Fabric Workspace, Lakehouse, Warehouse, OneLake, shortcuts, notebooks and Data Factory pipelines.
  • Evidence store target: Fabric Lakehouse Delta tables, review-only for now.

The adapter returns REVIEW_REQUIRED for semantics that need a concrete Fabric runtime design before execution can be claimed.

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

contractforge_fabric-0.1.0.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

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

contractforge_fabric-0.1.0-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: contractforge_fabric-0.1.0.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for contractforge_fabric-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f4d30b1698b04398215f07245240c93b09a792316b473ff40e0e30728ec7ad3b
MD5 9ad92277b549dbea6b70e33e8a287ef4
BLAKE2b-256 d7f1cee1bc3f9989f8606e7c626be7f571f62eeeb527f561280019275b751eb0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for contractforge_fabric-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f488c127a84cb4915921fe212f3f35607fe36896b12402b88ec4e9cbc2d3eae5
MD5 45f52000a29198a321146e2e0827997b
BLAKE2b-256 1c50babb4312c5040cd52a670198b8e32b84eeae1a7345a21e6bfddd434301f3

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