A Python library for pretty printing Python data structures
Project description
pretty_python
Standard Python Shim for IPython pretty library
See lib.pretty Docs for full api.
Only differnce to use this is to import as follows:
from pretty_python import pretty, pprint
d = dict(Foo=[1,2,3], Bar={'a':1, 'b':2, 'c':3})
print(f"my dict: {pretty(d)}")
# -or-
pprint(d)
If running within IPython / Jupyter Notebook, it will load the builtin pretty library, otherwise it will load this fork which removes IPython dependency
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
pretty_python-0.1.0.tar.gz
(11.6 kB
view hashes)
Built Distribution
Close
Hashes for pretty_python-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047498b6dcdbb1a235499fdd6646fc267673f967d74e60e1118dae0e084891b9 |
|
MD5 | f330367be3c538d51eecca0c35aabe93 |
|
BLAKE2b-256 | 669baecc1b07a293825a8da6d1f4b7ece2e4fb43632e386cb463c078ead58555 |