print dict in aligned way
Project description
dict_aligned_print
print non nested dict in aligned way
usage example:
input:
from dict_aligned_print import print_dict
dct = dict(my_key="hi", a=42, b='bb', my_key2=3)
dct['another key'] = dict(a=4)
print_dict(dct)
output:
my_key : hi
a : 42
b : bb
my_key2 : 3
another key : {'a': 4}
--------------------------------------------------
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for dict_aligned_print-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d18ba0340bef5ea2a00225ff4effed79b9574c18cde6d3a419e5c14c546f6d52 |
|
MD5 | 7664259cdd8348b29331d8a40bb4a482 |
|
BLAKE2b-256 | e1033c2da6c5e95301f6d97f6cea85254ef59ab1f2280c56553db02d22656a90 |