Pakiet: python3-pretty-yaml (21.10.1-1)
Odnośniki dla python3-pretty-yaml
Zasoby systemu Trisquel:
- Install using apturl
- Entry at directory.fsf.org
- Raporty o błędach
- Changelog
- Informacje nt. praw autorskich
Pobieranie pakietu źródłowego python-pretty-yaml:
- [python-pretty-yaml_21.10.1-1.dsc]
- [python-pretty-yaml_21.10.1.orig.tar.gz]
- [python-pretty-yaml_21.10.1-1.debian.tar.xz]
Opiekun:
Original Maintainer:
- Sascha Steinbiss
Zasoby zewnętrzne:
- Strona internetowa [github.com]
Podobne pakiety:
module to produce pretty and readable YAML-serialized data (Python 3)
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 3 version.
Inne pakiety związane z python3-pretty-yaml
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-unidecode
- ASCII transliterations of Unicode text (Python 3 module)
-
- dep: python3-yaml
- YAML parser and emitter for Python3
Pobieranie python3-pretty-yaml
| Architektura | Rozmiar pakietu | Rozmiar po instalacji | Pliki |
|---|---|---|---|
| all | 17,2 KiB | 58 KiB | [lista plików] |