--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ITP: pyaml -- module to produce pretty and readable YAML-serialized data
- From: Sascha Steinbiss <satta@debian.org>
- Date: Thu, 24 Nov 2016 17:45:34 +0100
- Message-id: <148000593412.14142.12493984779335163022.reportbug@debian>
Package: wnpp
Severity: wishlist
Owner: Sascha Steinbiss <satta@debian.org>
* Package name : pyaml
Version : 16.11.4
Upstream Author : Mike Kazantsev
* URL : https://github.com/mk-fg/pretty-yaml
* License : WTFPL-2
Programming Lang: Python
Description : module to produce pretty and readable YAML-serialized data
YAML is generally nice and easy format to read if it was written by humans.
PyYAML (python-yaml in Debian) can a do fairly decent job of making stuff
readable. pyaml (pretty-yaml) 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.
--- End Message ---
--- Begin Message ---
- To: 845561-close@bugs.debian.org
- Subject: Bug#845561: fixed in python-pretty-yaml 16.11.4-1
- From: Sascha Steinbiss <satta@debian.org>
- Date: Fri, 02 Dec 2016 20:00:15 +0000
- Message-id: <E1cCu0F-000HDW-7c@fasolo.debian.org>
Source: python-pretty-yaml
Source-Version: 16.11.4-1
We believe that the bug you reported is fixed in the latest version of
python-pretty-yaml, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 845561@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sascha Steinbiss <satta@debian.org> (supplier of updated python-pretty-yaml package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 02 Dec 2016 15:02:11 +0100
Source: python-pretty-yaml
Binary: python-pretty-yaml python3-pretty-yaml
Architecture: source all
Version: 16.11.4-1
Distribution: unstable
Urgency: medium
Maintainer: Sascha Steinbiss <satta@debian.org>
Changed-By: Sascha Steinbiss <satta@debian.org>
Description:
python-pretty-yaml - module to produce pretty and readable YAML-serialized data (Pytho
python3-pretty-yaml - module to produce pretty and readable YAML-serialized data (Pytho
Closes: 845561
Changes:
python-pretty-yaml (16.11.4-1) unstable; urgency=medium
.
* Initial release. (Closes: #845561)
Checksums-Sha1:
9cb3b669c129c8239105013c19b2f97f8edd8a11 2180 python-pretty-yaml_16.11.4-1.dsc
ea8c7300ac9e4783f28ebef2017164f68f9d4d10 18631 python-pretty-yaml_16.11.4.orig.tar.gz
6a4eed0e52b9e2e98547db134fadc6548fe5d773 2216 python-pretty-yaml_16.11.4-1.debian.tar.xz
3d389f43671542c29803825130752e072d0907dc 15312 python-pretty-yaml_16.11.4-1_all.deb
37b2a6b1df995bc4ca8762210c23f375e6517cdf 5660 python-pretty-yaml_16.11.4-1_amd64.buildinfo
3541ca52fcc86ba66a117fc645849d4956552fd6 15388 python3-pretty-yaml_16.11.4-1_all.deb
Checksums-Sha256:
2c3ac71281a0071287ba8490bace31ee64fc48a2d27abdb434bb553898e6e354 2180 python-pretty-yaml_16.11.4-1.dsc
890d76cc3b25f41df952d804ae4604bec2730e258608b06da7adb6830d1736be 18631 python-pretty-yaml_16.11.4.orig.tar.gz
8ec62b2843d18a35cf30902a3a3b3d372dd0ed5c0130e8c351c32bc9835d8fc4 2216 python-pretty-yaml_16.11.4-1.debian.tar.xz
9c8cf476dda57776d9415db0751ce7621beb48eeeb9593133b69f083b8b3ae97 15312 python-pretty-yaml_16.11.4-1_all.deb
9885f8849b0e118188c6c25acf703a15d59716d1bc6b2e5b11fd06906d2c5eb7 5660 python-pretty-yaml_16.11.4-1_amd64.buildinfo
f97b55add8ac5a0458de32af2fb01f086f5aa18eb1af3bb10ca116032399f11e 15388 python3-pretty-yaml_16.11.4-1_all.deb
Files:
1a6a4384f1499215ebfa6eb09226a95b 2180 python optional python-pretty-yaml_16.11.4-1.dsc
60118c77daca1d7afbf8c85a78d5b628 18631 python optional python-pretty-yaml_16.11.4.orig.tar.gz
abd0a44a1ece39dd1e599b61fe5765dd 2216 python optional python-pretty-yaml_16.11.4-1.debian.tar.xz
c5df504760b1e47f8b385eb1d85cc9d7 15312 python optional python-pretty-yaml_16.11.4-1_all.deb
fcbb36f6890b8ffec944875942719bf9 5660 python optional python-pretty-yaml_16.11.4-1_amd64.buildinfo
7f0645ea501eb14546f3e1d5ae4bcb18 15388 python optional python3-pretty-yaml_16.11.4-1_all.deb
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEWzS6WqtVB+kDQm6F6NN64vCfSHIFAlhBg7YACgkQ6NN64vCf
SHLMvg//Ux/FVidCj5/DWMBdgj5+4s7LhLXYKTcVjsYBLDz2GecqUNDsaA1j2GK/
BMOFIPnPEKl4navfgzxxdGPkwOQSZEbXHjLtBZ0oXUw8V7W5hkcP5qPxhzxIG/09
RLbyg7NKz0fdf4MJsD712Xse6kobCBVcBjcprrMttmeIH2S4xU2J5tOCU7HjcCR+
a8oQBlGc9Q2JsKuDa5NtBgL8BSppBl5J11QdDyaDeTSLkRREJbV28uP65I2+qwuW
XbNmlRIsV/Ztfwgu/cutZSebn3k5wO2rK+7/W4PZbe4Iz/d4aWc1PWMNoY3/teJ6
6YXcRHys3nEnQMi2NPcITSWXuuE7GSdlasLXLmYl5Ty0YU6/46EVBssMm8miy68E
Zl6+8EhvoQGqCEHMkxiMD9yKxa2K6lEHslo5E1ZOCnooM3PqjF6/m2mVWO6Bjr3d
/McXEIjQOND31CmDBu09P0QCYjpQmriS6ayrQppr+d37iwPiPJcI778oHZpoITNu
5C4G6bcemaUvsNZ4/5mUqBLln/sccgNH9UVAX6DWxD2URlSCOgG8YD9X8H8H5/iT
iLIUpfliqKfwCqSjSHrmJHiulInv/nB3dJzNtl4o63Sih03BbbaBJGaUIj7WO96X
9AzIybje7HMOJJSTmw6V7823BfTVlQxrwT8KLw5RTE6pckVVWwE=
=tQFa
-----END PGP SIGNATURE-----
--- End Message ---