Skip to main content

Painting

Painting can print characters, numbers, lists and dictionaries better on the terminal. Support the escape of Emoji expression.

In addition, new components are added, which does not represent the final quality

Install

pip install painting -U

Usage

Print various types

from painting import Painting

console = Painting()

console.log("Welcome to Painting")
# - Welcome to Painting

console.log(3.1415926)
# - 3.1415926

console.log([
    "the Great Wall",
    "the Palace Museum",
    "the White House",
])
# - (1) the Great Wall
# - (2) the Palace Museum
# - (3) the White House

console.log({
    "Beijing":"P.R.C.",
    "Washington D.C.":"U.S.A.",
    "London":"U.K."
})
# - [Beijing] P.R.C.
# - [Washington D.C.] U.S.A.
# - [London] U.K.s

The escape of Emoji

console.log("Welcome to Painting :red_heart:")
# - Painting is great fun ❤

Link

Website: https://github.com/isclub/painting

Releases: https://pypi.org/project/painting

License

MIT LICENSE

Metadata

Release files for painting 1.0.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 painting 1.0.1
File Size Uploaded
painting-1.0.1.tar.gz 1.9 kB Details

Release files / painting-1.0.1.tar.gz

Download URL painting-1.0.1.tar.gz
Size 1.9 kB
Tags Source
SHA-256 checksum
How to use checksums
9fed818227ee6bbc741d29a38ce1efdf298162b44c9ed5943286ce253cfc994f
BLAKE2b-256 checksum
How to use checksums
490ac9e359c715f72128697a9e32d7b106690851b610077a72c24a4d9a7f97c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release history Release notifications | RSS feed

This release

1.0.1 This release

1 release file

1.0.0

1 release file

0.0.1

1 release file

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