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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dict_aligned_print-0.1.2.tar.gz.
File metadata
- Download URL: dict_aligned_print-0.1.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.2 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f46c13a6ff1eb84e96a1ab83aa6e710fe9984f3ce1aebd80bf545b0f70731f5b
|
|
| MD5 |
7c3ea1613beeb8866996e1c88ed2041b
|
|
| BLAKE2b-256 |
1dbd65e8042c2b9ac06552ea8c5c0edce02c64030e62e4b19776a30fda86b8bb
|
File details
Details for the file dict_aligned_print-0.1.2-py3-none-any.whl.
File metadata
- Download URL: dict_aligned_print-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.2 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2daa095c8bc8618314ced491574793eaee4fd5b132906ced7d6c9fa9430fa40a
|
|
| MD5 |
ab207ab7b711541070a96b024b3cc7c9
|
|
| BLAKE2b-256 |
003fbbada141246ccf20b130648da94193be2cc2687a724e0f13e0942ad4c0b8
|