python-pretty-yaml_17.8.0-1_all.deb


Advertisement

Description

python-pretty-yaml - module to produce pretty and readable YAML-serialized data (Python 2)

Property Value
Distribution Ubuntu 17.10 (Artful Aardvark)
Repository Ubuntu Universe i386
Package name python-pretty-yaml
Package version 17.8.0
Package release 1
Package architecture all
Package type deb
Installed size 56 B
Download size 15.40 KB
Official Mirror archive.ubuntu.com
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.

Alternatives

Package Version Architecture Repository
python-pretty-yaml_17.8.0-1_all.deb 17.8.0 all Ubuntu Universe
python-pretty-yaml - - -

Requires

Name Value
python-unidecode -
python-yaml -
python:any << 2.8
python:any >= 2.7.5-5~

Download

Type URL
Binary Package python-pretty-yaml_17.8.0-1_all.deb
Source Package python-pretty-yaml

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-pretty-yaml deb package:
    # sudo apt-get install python-pretty-yaml

Files

Path
/usr/lib/python2.7/dist-packages/pyaml/__init__.py
/usr/lib/python2.7/dist-packages/pyaml/__main__.py
/usr/lib/python2.7/dist-packages/pyaml-17.8.0.egg-info/PKG-INFO
/usr/lib/python2.7/dist-packages/pyaml-17.8.0.egg-info/dependency_links.txt
/usr/lib/python2.7/dist-packages/pyaml-17.8.0.egg-info/requires.txt
/usr/lib/python2.7/dist-packages/pyaml-17.8.0.egg-info/top_level.txt
/usr/lib/python2.7/dist-packages/pyaml/tests/__init__.py
/usr/lib/python2.7/dist-packages/pyaml/tests/dump.py
/usr/share/doc/python-pretty-yaml/changelog.Debian.gz
/usr/share/doc/python-pretty-yaml/copyright

Changelog

2017-08-18 - Sascha Steinbiss <satta@debian.org>
python-pretty-yaml (17.8.0-1) unstable; urgency=medium
* New upstream release.
2017-07-31 - Sascha Steinbiss <satta@debian.org>
python-pretty-yaml (17.7.2-1) unstable; urgency=medium
* New upstream release.
* Bump Standards-Version.
2016-12-14 - Sascha Steinbiss <satta@debian.org>
python-pretty-yaml (16.12.2-1) unstable; urgency=medium
* New upstream release.
2016-12-10 - Sascha Steinbiss <satta@debian.org>
python-pretty-yaml (16.12.1-1) unstable; urgency=medium
* New upstream release.
2016-12-02 - Sascha Steinbiss <satta@debian.org>
python-pretty-yaml (16.11.4-1) unstable; urgency=medium
* Initial release. (Closes: #845561)

See Also

Package Description
python-proboscis_1.2.6.0-2_all.deb extends Nose with certain TestNG like features - python 2.x
python-profitbricks_4.1.0-2_all.deb ProfitBricks REST API client library for Python 2
python-progress_1.2-1_all.deb easy progress reporting for Python
python-progressbar_2.3-4_all.deb text progress bar library for Python
python-proliantutils-doc_2.1.11-2_all.deb client lib interfacing various devices in HP Proliant Servers - doc
python-proliantutils_2.1.11-2_all.deb client lib interfacing various devices in HP Proliant Servers - Python 2.x
python-prometheus-client_0.0.20-1_all.deb Python 2 client for the Prometheus monitoring system
python-prompt-toolkit_1.0.14-1_all.deb library for building interactive command lines (Python 2)
python-protobix_1.0.0-3_all.deb Implementation of Zabbix Sender protocol
python-protobuf_3.0.0-9ubuntu5_i386.deb Python bindings for protocol buffers
python-protocols_1.0a.svn20070625-7_i386.deb Open Protocols and Component Adaptation for Python
python-protorpc-standalone_0.9.1-3_all.deb Google Protocol RPC - Python 2.x
python-prov-doc_1.5.0-2_all.deb documentation for prov
python-prov_1.5.0-2_all.deb W3C Provenance Data Model (Python 2)
python-prowlpy_0+20100211.92df046-2_all.deb Python support for Apple Push Notifications via Prowl
Advertisement
Advertisement