-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76c26fc
commit a77d51d
Showing
9 changed files
with
108 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
README.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,53 @@ | ||
beeprint: Beautiful Print | ||
beeprint: Beautifully Print | ||
=== | ||
pprint is good, but not clean. So beeprint do it. | ||
|
||
Features | ||
=== | ||
- print dict elegantly | ||
- format of sequential type is controllable | ||
- outstanding mark to class and instance | ||
- compatible with py2 py3 in same output | ||
|
||
Examples | ||
=== | ||
|
||
Plain Variables | ||
Complicated data | ||
--- | ||
``` | ||
[ | ||
1, | ||
1.1, | ||
's', | ||
'us', | ||
'a中文', | ||
'a中文', | ||
[1], | ||
(1, 2), | ||
function(EmptyFunc), | ||
class(EmptyClassOldStyle), | ||
class(EmptyClassNewStyle), | ||
class(NormalClassOldStyle): | ||
static_props: 1, | ||
class(NormalClassNewStyle): | ||
dicts: { | ||
}, | ||
lists: [], | ||
static_props: 1, | ||
instance(NormalClassOldStyle): | ||
static_props: 1, | ||
instance(NormalClassNewStyle): | ||
dicts: { | ||
}, | ||
lists: [], | ||
static_props: 1, | ||
method(mth), | ||
method(mth), | ||
{ | ||
'key': [], | ||
'key2': { | ||
}, | ||
}, | ||
] | ||
``` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters