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 details)
Built Distribution
File details
Details for the file pretty_python-0.1.0.tar.gz
.
File metadata
- Download URL: pretty_python-0.1.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.7.9 Linux/5.15.0-1035-oracle
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae127e461020a51486f3f5367161931c340d481eb4bb4339e0ab701d48be31b8 |
|
MD5 | bb4d939367c2f2a2ce2022c70ce4baf0 |
|
BLAKE2b-256 | 49badbd5cf195fab956b96e195c09ac2ecd15735656aae4e16580c775a232bda |
File details
Details for the file pretty_python-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: pretty_python-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.7.9 Linux/5.15.0-1035-oracle
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 047498b6dcdbb1a235499fdd6646fc267673f967d74e60e1118dae0e084891b9 |
|
MD5 | f330367be3c538d51eecca0c35aabe93 |
|
BLAKE2b-256 | 669baecc1b07a293825a8da6d1f4b7ece2e4fb43632e386cb463c078ead58555 |