prettier-printer 0.1.4

Creator: bradpython12

Last updated:

0 purchases

prettier-printer 0.1.4 Image
prettier-printer 0.1.4 Images
Add to Cart

Description:

prettierprinter 0.1.4

Prettier_Printer: A syntax highlighting prettier printer for Python 3.6+
This library intends to print prettier for python code as simple and intuitive as possible.


Tutorial
Pretty print common Python values:
>>> from prettier_printer import pprint
>>> d = {
... 'example_tuple': (1, 2, 3, 4),
... 'word': 'Python is an interpreted programming language.',
... 'example dict': {'set': set([1, 2, 3, 4])}
...}
>>> pprint(d, depth=10, indent=2, width=12, sort_dict_keys=True)

{
'example dict': {
'set': {1, 2, 3, 4}
},
'example_tuple': (1, 2, 3, 4),
'word': (
'Python is an ',
'interpreted ',
'programming ',
'language.'
)
}
Pretty print common Python values with syntax highlight:



Installation
$ pipenv install prettier_printer
Only Python 3.6 is supported.

License

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

Customer Reviews

There are no reviews.