Metadata-Version: 2.4
Name: promptledger-mlflow
Version: 0.1.0
Summary: Optional mlflow provider for PromptLedger
Author: PromptLedger Contributors
License-Expression: MIT
Project-URL: Repository, https://github.com/Ertugrulmutlu/promptledger
Project-URL: Documentation, https://github.com/Ertugrulmutlu/promptledger/blob/main/docs/plugin-sdk.md
Project-URL: Issues, https://github.com/Ertugrulmutlu/promptledger/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: promptledger<0.9,>=0.8
Requires-Dist: mlflow-skinny<4,>=3.15
Dynamic: license-file

# PromptLedger MLflow provider

Optional provider for PromptLedger 0.8.x (SDK v1).

Text prompt registry import and publish using mlflow-skinny. Configure MLFLOW_REGISTRY_URI or MLFLOW_TRACKING_URI before use. Local SQLite and loopback HTTP smoke tests passed; remote authentication and TLS configurations are not comprehensively tested.

## Installation

```sh
python -m pip install promptledger-mlflow
promptledger plugins conformance mlflow --confirm
```

From a source checkout, install Core first and use `python -m pip install -e ./plugins/mlflow` instead.

## Usage

Initialize a workspace and create the referenced prompt where required. Example:

```sh
promptledger integrations mlflow-import --id greeting --uri prompts:/greeting/1 --confirm
```

## Publish and verify

```sh
promptledger plugins run mlflow healthcheck --confirm
promptledger integrations mlflow-publish --id greeting --ref 1 --name greeting --confirm
```

Configure the registry URI before either operation and review its access controls. The publish command sends the selected prompt text to the configured registry. Use the returned version URI for a subsequent import.

Providers are trusted Python code, not sandboxed. Explicit confirmation is required for network execution. No automatic synchronization or publication. Review the [SDK guide](https://github.com/Ertugrulmutlu/promptledger/blob/main/docs/plugin-sdk.md) for the trust boundary and provider options.

MIT license.
