Skip to main content

jprint2

Print Python objects as colorized, formatted JSON.

Example

Installation

pip install jprint2

Usage

def jprint(*objects: Any, indent: bool = True) -> None:
   ...
>>> from jprint2 import jprint
>>> jprint("a", "b", "c")
[
  "a",
  "b",
  "c"
]
>>> jprint({"name": "Mark", "mood": 10})
{
  "name": "Mark",
  "mood": 10
}
>>> jprint({"name": "Mark", "age": 30}, indent=False)
{"name": "Mark", "age": 30}

License

MIT License

Author

Mark Lidenberg marklidenberg@gmail.com

Metadata

Release files for jprint2 0.4.1

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

Source distribution (sdist)

Source distribution for jprint2 0.4.1
File Size Uploaded Provenance Actions
jprint2-0.4.1.tar.gz 52.6 kB Without provenance Details for jprint2-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jprint2 0.4.1
File Interpreter ABI Platform Actions
jprint2-0.4.1-py3-none-any.whl Python 3 none any Details for jprint2-0.4.1-py3-none-any.whl

Total release size: 55.8 kB

Release files / jprint2-0.4.1.tar.gz

Download URL jprint2-0.4.1.tar.gz
Size 52.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0d77434cbfed9439a712ff39f23d10e13e23ba6f108a953926c03c1c693a2f81
BLAKE2b-256 checksum
How to use checksums
4b1b49f0a617f23a282d5e67fb520a57cc0b9e0d782750081d17e526732654a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.2

Release files / jprint2-0.4.1-py3-none-any.whl

Download URL jprint2-0.4.1-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce1463cca07db71544caadcc94aa34e34609cce99757be7118950a7c1550f82b
BLAKE2b-256 checksum
How to use checksums
ed24fb2f294730a14b0b7822f234a1052c4c0b26f4586d2e73cac649c6702235
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.7.2

Security for jprint2 0.4.1

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.

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