Skip to main content

pretty_python

Standard Python Shim for IPython pretty library

See lib.pretty Docs for full api.

Only differnce to use this is to import as follows:

from pretty_python import pretty, pprint

d = dict(Foo=[1,2,3], Bar={'a':1, 'b':2, 'c':3})

print(f"my dict: {pretty(d)}")

# -or-

pprint(d)

If running within IPython / Jupyter Notebook, it will load the builtin pretty library, otherwise it will load this fork which removes IPython dependency

Metadata

Release files for pretty-python 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pretty-python 0.1.0
File Size Uploaded
pretty_python-0.1.0.tar.gz 11.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pretty-python 0.1.0
File Interpreter ABI Platform
pretty_python-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 23.0 kB

Release files / pretty_python-0.1.0.tar.gz

Download URL pretty_python-0.1.0.tar.gz
Size 11.6 kB
Tags Source
SHA-256 checksum
How to use checksums
ae127e461020a51486f3f5367161931c340d481eb4bb4339e0ab701d48be31b8
BLAKE2b-256 checksum
How to use checksums
49badbd5cf195fab956b96e195c09ac2ecd15735656aae4e16580c775a232bda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.7.9 Linux/5.15.0-1035-oracle

Release files / pretty_python-0.1.0-py3-none-any.whl

Download URL pretty_python-0.1.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
047498b6dcdbb1a235499fdd6646fc267673f967d74e60e1118dae0e084891b9
BLAKE2b-256 checksum
How to use checksums
669baecc1b07a293825a8da6d1f4b7ece2e4fb43632e386cb463c078ead58555
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.7.9 Linux/5.15.0-1035-oracle

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page