How to Install and Uninstall python3-pretty-yaml Package on Kali Linux

Last updated: April 27,2024

1. Install "python3-pretty-yaml" package

Please follow the step by step instructions below to install python3-pretty-yaml on Kali Linux

$ sudo apt update $ sudo apt install python3-pretty-yaml

2. Uninstall "python3-pretty-yaml" package

This guide let you learn how to uninstall python3-pretty-yaml on Kali Linux:

$ sudo apt remove python3-pretty-yaml $ sudo apt autoclean && sudo apt autoremove

3. Information about the python3-pretty-yaml package on Kali Linux

Package: python3-pretty-yaml
Source: python-pretty-yaml
Version: 23.12.0-1
Installed-Size: 78
Maintainer: Sascha Steinbiss
Architecture: all
Depends: python3-yaml, python3:any, python3-unidecode
Size: 21576
SHA256: 8c1b5d02d1a1e5d5c405d6d9fb33cc3a6669e84e0d30d969d601f38be2b819b5
SHA1: 8cbc572528e63bd24f64a9ce11926700671577fc
MD5sum: cb585c27f7618007ce551030671d0543
Description: 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.
Description-md5:
Homepage: https://github.com/mk-fg/pretty-yaml
Section: python
Priority: optional
Filename: pool/main/p/python-pretty-yaml/python3-pretty-yaml_23.12.0-1_all.deb