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.3.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.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

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

Hashes for score_loader-0.0.3.tar.gz
Algorithm Hash digest
SHA256 0c89d1b710df00bbb95512f7484b36d4778405b473b5fd4726d8cd96aa62b66e
MD5 7e1a4d15105fc4cc82c69d730277cf23
BLAKE2b-256 d3e8d350fb9d3072bad682ad068a11357eaba706ebcd1797f2f7cd4f7a8a6043

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for score_loader-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 830e375a13374b346ac96ded7e01fd5827176087e8ee46bf644a22e2141106ba
MD5 d8d3bc71304848860121df1554c6de23
BLAKE2b-256 5257d7082dc430ebb8017392e1593db8f049d9aa86063a227afa669c457d4585

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