Skip to main content

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

Metadata

Release files for score_loader 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for score_loader 0.0.4
File Size Uploaded
score_loader-0.0.4.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for score_loader 0.0.4
File Interpreter ABI Platform
score_loader-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.2 kB

Release files / score_loader-0.0.4.tar.gz

Download URL score_loader-0.0.4.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3f3137119df459868a4edbf8b1b021f1d47ab6aa0706bd1fa0e6049a2552379a
BLAKE2b-256 checksum
How to use checksums
019cd09c698bb61ee23a4005c7d78e157ba598966b9527225a322681d480e6eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Release files / score_loader-0.0.4-py3-none-any.whl

Download URL score_loader-0.0.4-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d33a150296e48997b0b2ceb1e2433de8ec05831186dae4493c37a0f0c3ada0ef
BLAKE2b-256 checksum
How to use checksums
6edc5d282aa103289bc757cb66d40c28e869eb73d51f390e0509180a497f8dc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.4

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page