pp: an alias for pprint++
pp can be installed with Python 2 or Python 3 using pip or easy_install:
$ pip install pprintpp pp-ez - OR - $ easy_install pprintpp pp-ez
The pp package is just an alias for the pprintpp package (and falls back to the pprint package if pprintpp isn’t available), plus a bit of magic so it can be called directly:
>>> import pp >>> pp(["Hello", "world"]) ["Hello", "world"] >>> pp.fmt([1, 2, 3]) '[1, 2, 3]' >>> pp.pprint([1, 2, 3]) [1, 2, 3] >>> pp.pformat([1, 2, 3]) '[1, 2, 3]'
By default, pp tries to use the pprintpp package, but if that is not available it will fall back to using pprint:
>>> import pp >>> pp <module 'pp' (pp_magic_module with pprint_mod='pprint')> >>> pp.pprint_mod <module 'pprint' from '.../lib/python2.7/pprint.pyc'>
See also: pprint++: https://pypi.python.org/pypi/pprintpp
Metadata
Release files for pp-ez 0.2.0
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 |
|---|---|---|---|---|
| pp-ez-0.2.0.tar.gz | 2.0 kB | Without provenance | Details for pp-ez-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pp_ez-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pp_ez-0.2.0-py2.py3-none-any.whl |
Total release size: 5.4 kB
Release files / pp-ez-0.2.0.tar.gz
| Download URL | pp-ez-0.2.0.tar.gz |
|---|---|
| Size | 2.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
87b9e5a0fdd7ced5b46d1b61706113cac9ec1670a76b10d308334db44c20cc29
|
|
BLAKE2b-256 checksum How to use checksums |
6a6feb7883bbc0c2658229266e93e2eadeb503a4b120f4a19806348685d2ee37
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pp_ez-0.2.0-py2.py3-none-any.whl
| Download URL | pp_ez-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
554dc28eff8b2df864fcd3326bd5fa0ec3f2b85bc9590fd96771a7c49e45c121
|
|
BLAKE2b-256 checksum How to use checksums |
3efb71815f82143b90c82a2e1b4fdd2e556b124d8b4e3c570297d69f9c4ded1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pp-ez 0.2.0
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.