Metadata-Version: 2.4
Name: score_loader
Version: 0.0.3
Summary: Python implementation of the score.dev specification, allowing to load workload definition and applying a first pass of evaluation for ${metadata...} placeholders.
Project-URL: Repository, https://github.com/stumpyfr/score-loader
Project-URL: Documentation, https://github.com/stumpyfr/score-loader
Keywords: score.dev
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pydantic>=2.12.3
Requires-Dist: pyyaml>=6.0.3
Dynamic: license-file

# Score.dev Python loader

Python implementation of the [score.dev](https://docs.score.dev/docs/) specification, allowing to load workload definition and applying a first pass of evaluation for `${metadata...}` placeholders.

`${resources...}` placeholders must be evaluated after provisioning of the resources, cannot be done while loading the workload definition.


## Usage

`pip install score-loader`

or

`uv add score-loader`

then in your code:

```
from score_loader.loader import load_score_file

workload = load_score_file("score.yml")
```

## Unit tests

`uv run pytest`


