Skip to main content

Build Status Azure DevOps coverage

aspy.yaml

Some extensions to pyyaml.

Installation

pip install aspy.yaml

aspy.yaml.ordered_load

yaml.load which respects order for dictionaries in the yaml file.

>>> from aspy.yaml import ordered_load
>>> ordered_load(
        'foo: bar\n'
        'bar: baz\n'
        'herp: derp\n'
    )
OrderedDict([('foo', 'bar'), ('bar', 'baz'), ('herp', 'derp')])

aspy.yaml.ordered_dump

yaml.dump which respects order for dictionaries in the yaml file.

>>> from aspy.yaml import ordered_dump
>>> print(ordered_dump(
        OrderedDict((('a', '1'), ('b', '2'), ('c', '3'), ('d', '4'))),
        default_flow_style=False,
    ))
a: '1'
b: '2'
c: '3'
d: '4'

Metadata

Release files for aspy.yaml 1.2.0

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

Source distribution (sdist)

Source distribution for aspy.yaml 1.2.0
File Size Uploaded Provenance Actions
aspy.yaml-1.2.0.tar.gz 2.9 kB Without provenance Details for aspy.yaml-1.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aspy.yaml 1.2.0
File Interpreter ABI Platform Actions
aspy.yaml-1.2.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for aspy.yaml-1.2.0-py2.py3-none-any.whl

Total release size: 6.3 kB

Release files / aspy.yaml-1.2.0.tar.gz

Download URL aspy.yaml-1.2.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
ae249074803e8b957c83fdd82a99160d0d6d26dff9ba81ba608b42eebd7d8cd3
BLAKE2b-256 checksum
How to use checksums
4da76a5b49ac9d7b2c996b36c1f5df0a575cff5a70d1151a080b4cbf96bcb8a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Release files / aspy.yaml-1.2.0-py2.py3-none-any.whl

Download URL aspy.yaml-1.2.0-py2.py3-none-any.whl
Size 3.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c7390d79f58eb9157406966201abf26da0d56c07e0ff0deadc39c8f4dbc13482
BLAKE2b-256 checksum
How to use checksums
c0158f38955cbd3bf2f1bfbf7bec2a22517cdd098aa8eee60dafe49b2f7fd405
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7

Security for aspy.yaml 1.2.0

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.

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