This module privides pretty printing for list/dict/tuple/set python object.
Simple example of usage is followings
>>> from prettyprint import pp >>> target = ['want pretty printing', '望麗出力'] >>> print target ['want pretty printing', '\xe6\x9c\x9b\xe9\xba\x97\xe5\x87\xba\xe5\x8a\x9b'] # what a ugly print especially in japanese >>> pp(target) # now we can see pretty print with pp [ "want pretty printing", "望麗出力" ] >>> target_dict = {'order': {'en':'pretty print', 'ja':'綺麗に出力せよ'}} >>> print target_dict # what a hell again {'order': {'en': 'pretty print', 'ja': '\xe7\xb6\xba\xe9\xba\x97\xe3\x81\xab\xe5\x87\xba\xe5\x8a\x9b\xe3\x81\x9b\xe3\x82\x88'}} >>> pp(target_dict) # pp again { "order": { "en": "print prettily", "ja": "綺麗に出力せよ" } }
Metadata
Release files for prettyprint 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| prettyprint-0.1.5.tar.gz | 2.1 kB | Without provenance | Details for prettyprint-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| prettyprint-0.1.5-py2.6.egg | Legacy Egg format | - | - | Details for prettyprint-0.1.5-py2.6.egg |
Total release size: 6.7 kB
Release files / prettyprint-0.1.5.tar.gz
| Download URL | prettyprint-0.1.5.tar.gz |
|---|---|
| Size | 2.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7423210b62adfb3777677914cd25db4919f1c2b0afba0454365ffbfa3f7e3731
|
|
BLAKE2b-256 checksum How to use checksums |
139c495a32e19f94fdd402bffc1c90abd84f2f604595ab480a3087dd77a94502
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / prettyprint-0.1.5-py2.6.egg
| Download URL | prettyprint-0.1.5-py2.6.egg |
|---|---|
| Size | 4.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
ee3fdb0a463b421d326ba3ed2891f1927eb4193abedf81c9937bc1deae0f958a
|
|
BLAKE2b-256 checksum How to use checksums |
3e47391c122b20d59699aab7d42485f5155cf6ebcb67d2ab9e66ebac026cfed2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for prettyprint 0.1.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.