prettierprint 1.1.2

Creator: railscoder56

Last updated:

Add to Cart

Description:

prettierprint 1.1.2

prettierprint
Python module for clean, human-readable printing of data structures.
Quickstart
Install
pip install prettierprint
Usage
Basic:
from prettierprint import print

some_data = {'key': 'value', 'list': [{'name': 'Hello', 'attr_A': 'foo', 'attr_B': 'bar'}, {'name': 'World', 'attr_A': 'bar', 'attr_B': 'foo'}]}

print(some_data)

Result:
key: value
list:
- name: Hello
attr_A: foo
attr_B: bar
- name: World
attr_A: bar
attr_B: foo

License

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

Customer Reviews

There are no reviews.