Skip to main content

extprint

  • prints with color and background color

  • prints lists and their indexes line by line

Install

pip install extprint

Usage

from extprint import printlist,printcolored,set_default_print_options
list = [1,2,3,4,5,6,7,8,9,0]

printlist(list, seperator="----->", start_index=0, color="GREEN", bold=True)

printcolored("HELLO", color="BLUE", bold=True)

set_default_print_options(seperator="=",color="VIOLET",bold=True)

printlist(list)

printcolored("HI")
0 -----> 1
1 -----> 2
2 -----> 3
3 -----> 4
4 -----> 5
5 -----> 6
6 -----> 7
7 -----> 8
8 -----> 9
9 -----> 0
HELLO
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = 0
HI

Available colors-options

from extprint import show_available_colors

show_available_colors()
  • BLACK

  • RED

  • GREEN

  • YELLOW

  • BLUE

  • VIOLET

  • BEIGE

  • WHITE

  • BOLD

  • ITALIC

Metadata

Release files for extprint 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 extprint 0.1.0
File Size Uploaded
extprint-0.1.0.tar.gz 2.4 kB Details

Built distribution (wheel)

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

Total release size: 6.3 kB

Release files / extprint-0.1.0.tar.gz

Download URL extprint-0.1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
e593ff8bd729b50f1e48b37f3248ae119ee71129843056a00d9a0916dc8c7202
BLAKE2b-256 checksum
How to use checksums
8f1afcbb749e9ae3eadaa41edf17595543e0ac099d5af76997d59c7a8345f2a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5

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

Download URL extprint-0.1.0-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffdbd4d6f8fc8bbaa854c0462ff92baa17802dacd80b3c024575979ca9cdf5c5
BLAKE2b-256 checksum
How to use checksums
5de42991ed930e21dafcce6fcd744e2dc1399fc99f648855d7f87bf99c001502
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

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