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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1270ab3b12e10c76fb82a2418445fba907a454c1faaf2c82de7deb326c1ac6dd |
|
MD5 | cce45ac210c1b7b4d1379ff49a94cd82 |
|
BLAKE2b-256 | 9fcb9a2a01f9cd3a9224ef037b35da438c1ff4504f00acab6743dd54af88eb0f |