Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

score_loader-0.0.4.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

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

score_loader-0.0.4-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file score_loader-0.0.4.tar.gz.

File metadata

  • Download URL: score_loader-0.0.4.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for score_loader-0.0.4.tar.gz
Algorithm Hash digest
SHA256 3f3137119df459868a4edbf8b1b021f1d47ab6aa0706bd1fa0e6049a2552379a
MD5 56cd6bbd365b5cbb1f4ecaf4b96573e1
BLAKE2b-256 019cd09c698bb61ee23a4005c7d78e157ba598966b9527225a322681d480e6eb

See more details on using hashes here.

File details

Details for the file score_loader-0.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for score_loader-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d33a150296e48997b0b2ceb1e2433de8ec05831186dae4493c37a0f0c3ada0ef
MD5 d9d126dfd0c96ea39a516b69e9479bc6
BLAKE2b-256 6edc5d282aa103289bc757cb66d40c28e869eb73d51f390e0509180a497f8dc4

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