pretty-python 0.1.0

Last updated:

0 purchases

pretty-python 0.1.0 Image
pretty-python 0.1.0 Images
Add to Cart

Description:

prettypython 0.1.0

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

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.