YAML-based artifact handling for lazyscribe
lazyscribe-yaml is a lightweight package that adds the following artifact handlers for lazyscribe:
yaml— backed by PyYAMLyaml12— backed by py-yaml12, a YAML 1.2-compliant parser with fewer footguns and no transitive dependencies
Installation
Python 3.10 or above is required. Use pip to install:
$ python -m pip install lazyscribe-yaml
Both handlers are included by default; no extras are required.
Usage
To use this library, simply log an artifact to a lazyscribe experiment or repository with handler="yaml" or handler="yaml12".
yaml handler (PyYAML)
from lazyscribe import Project
project = Project("project.json", mode="w")
with project.log("My experiment") as exp:
exp.log_artifact(name="feature-names", value=["a", "b", "c"], handler="yaml")
project.save()
yaml12 handler (py-yaml12)
The yaml12 handler uses py-yaml12, which follows the YAML 1.2 specification. This avoids common PyYAML pitfalls such as unquoted booleans (yes/no/on/off) and octal literals being misinterpreted.
from lazyscribe import Project
project = Project("project.json", mode="w")
with project.log("My experiment") as exp:
exp.log_artifact(name="feature-names", value=["a", "b", "c"], handler="yaml12")
project.save()
Metadata
Release files for lazyscribe-yaml 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| lazyscribe_yaml-0.2.2.tar.gz | 4.3 kB | Without provenance | Details for lazyscribe_yaml-0.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| lazyscribe_yaml-0.2.2-py3-none-any.whl | Python 3 | none | any | Details for lazyscribe_yaml-0.2.2-py3-none-any.whl |
Total release size: 10.5 kB
Release files / lazyscribe_yaml-0.2.2.tar.gz
| Download URL | lazyscribe_yaml-0.2.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9263943f1740f605bcb2ff33a142a83a7b71352d13077db1b2a7ee3ca3ec2c1d
|
|
BLAKE2b-256 checksum How to use checksums |
b574a01d9dd60729b76c0f04d08aa5f59a20234e91e446efd9ef7aff280090c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / lazyscribe_yaml-0.2.2-py3-none-any.whl
| Download URL | lazyscribe_yaml-0.2.2-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c153bb1ffdc8fae05449f5631407a12e4f970808c8a2eaabd67b2b350e447754
|
|
BLAKE2b-256 checksum How to use checksums |
8007e32b141ae4fdb3210016964a5d30b484a07daac4d339d8cdfc82bfee7722
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for lazyscribe-yaml 0.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.