Python implementation of the score.dev specification, allowing to load workload definition and applying a first pass of evaluation for ${metadata...} placeholders.
Project description
Score.dev Python loader
Python implementation of the score.dev 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
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 score_loader-0.0.3.tar.gz.
File metadata
- Download URL: score_loader-0.0.3.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c89d1b710df00bbb95512f7484b36d4778405b473b5fd4726d8cd96aa62b66e
|
|
| MD5 |
7e1a4d15105fc4cc82c69d730277cf23
|
|
| BLAKE2b-256 |
d3e8d350fb9d3072bad682ad068a11357eaba706ebcd1797f2f7cd4f7a8a6043
|
File details
Details for the file score_loader-0.0.3-py3-none-any.whl.
File metadata
- Download URL: score_loader-0.0.3-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
830e375a13374b346ac96ded7e01fd5827176087e8ee46bf644a22e2141106ba
|
|
| MD5 |
d8d3bc71304848860121df1554c6de23
|
|
| BLAKE2b-256 |
5257d7082dc430ebb8017392e1593db8f049d9aa86063a227afa669c457d4585
|