python-pretty-yaml 17.8.0-1 source package in Ubuntu
Changelog
python-pretty-yaml (17.8.0-1) unstable; urgency=medium * New upstream release. -- Sascha Steinbiss <email address hidden> Fri, 18 Aug 2017 09:20:00 +0200
Upload details
- Uploaded by:
- Sascha Steinbiss
- Uploaded to:
- Sid
- Original maintainer:
- Sascha Steinbiss
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-pretty-yaml_17.8.0-1.dsc | 1.8 KiB | 519f14403a4842b67677c4b08a106ac516505c09f56a85e711e677fcc0d7b52f |
python-pretty-yaml_17.8.0.orig.tar.gz | 15.2 KiB | 9cf5ff8fc3b82aab1428e67ab2040b52a9f39433517cb7c5b852498ed3a75740 |
python-pretty-yaml_17.8.0-1.debian.tar.xz | 2.2 KiB | 3f21848b9200c0b6f57476a0e007fff5e692665e79440504a1f0d1cb5ec06fbd |
Available diffs
- diff from 17.7.2-1 to 17.8.0-1 (948 bytes)
No changes file available.
Binary packages built by this source
- python-pretty-yaml: module to produce pretty and readable YAML-serialized data (Python 2)
YAML is generally nice and easy format to read if it was written by humans.
PyYAML can a do fairly decent job of making stuff readable. pyaml tries to
improve on that a bit, with the following tweaks:
.
- Most human-friendly representation options in PyYAML get picked as
defaults.
- Does not dump "null" values, if possible, replacing these with just empty
strings, which have the same meaning but reduce visual clutter and are
easier to edit.
- Dicts, sets, OrderedDicts, defaultdicts, namedtuples, etc are
representable and get sorted on output (OrderedDicts and namedtuples keep
their ordering), so that output would be as diff-friendly as possible,
and not arbitrarily depend on Python internals.
- It appears that at least recent PyYAML versions also do such sorting for
Python dicts.
- List items get indented, as they should be.
- bytestrings that can't be auto-converted to unicode raise error, as yaml
has no "binary bytes" (i.e. unix strings) type.
- Attempt is made to pick more readable string representation styles,
depending on the value.
- "force_embed" option to avoid having &id stuff scattered all over the
output (which might be beneficial in some cases, hence the option).
- "&id" anchors, if used, get labels from the keys they get attached to, not
just use meaningless enumerators.
- "string_val_style" option to only apply to strings that are values, not
keys.
- Has an option to add vertical spacing (empty lines) between keys on
different depths, to make output much more seekable.
.
This package installs the Python 2 version.
- python3-pretty-yaml: No summary available for python3-pretty-yaml in ubuntu artful.
No description available for python3-pretty-yaml in ubuntu artful.