Beautiful output on the terminal
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
painting-1.0.1.tar.gz
(1.9 kB
view details)
File details
Details for the file painting-1.0.1.tar.gz
.
File metadata
- Download URL: painting-1.0.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fed818227ee6bbc741d29a38ce1efdf298162b44c9ed5943286ce253cfc994f |
|
MD5 | d1a8c4090ac579952c4d22e5ff98c3f9 |
|
BLAKE2b-256 | 490ac9e359c715f72128697a9e32d7b106690851b610077a72c24a4d9a7f97c4 |