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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2daa095c8bc8618314ced491574793eaee4fd5b132906ced7d6c9fa9430fa40a |
|
MD5 | ab207ab7b711541070a96b024b3cc7c9 |
|
BLAKE2b-256 | 003fbbada141246ccf20b130648da94193be2cc2687a724e0f13e0942ad4c0b8 |