Synopsis
import yaml
from yamlfuture import Loader
# Define your own anchors:
Loader.anchors = {'name': 'YAML'}
# !import relative to this:
Loader.filepath = __file__
yamlstream = """\
---
greeting: !+ |
Hello {*name}.
Welcome to the future!
copyright: !import [../data.yaml, /copyright/year]
"""
print(yaml.dump(yaml.load(yamlstream, Loader))
Status
This module is very ALPHA.
YAML 1.3 is still being defined.
As the various features of the YAML 1.3 evolve, yamlfuture will evolve.
Use with caution for now.
Description
YAML 1.3 is bringing exciting new features to YAML (while keeping the YAML you know and love (or hate) the same).
This package lets you use the new features (or close approximations) in PyYAML now.
This is a very early release. More features and documentation coming soon.
Metadata
Release files for pyyaml-future 0.0.6
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 |
|---|---|---|---|---|
| pyyaml-future-0.0.6.tar.gz | 5.4 kB | Without provenance | Details for pyyaml-future-0.0.6.tar.gz |
Release files / pyyaml-future-0.0.6.tar.gz
| Download URL | pyyaml-future-0.0.6.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aeb6f8f2578c68927a68f56e9944a3a7b0912efa87e5a943c8d773e284b64eb0
|
|
BLAKE2b-256 checksum How to use checksums |
c6150630aef3d0dad37734f1e55cf5c6351a7d7f7589891d21ad5439bea9c135
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.10
|
Security for pyyaml-future 0.0.6
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.