Skip to main content

extended print

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

extprint-0.1.0.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

extprint-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file extprint-0.1.0.tar.gz.

File metadata

  • Download URL: extprint-0.1.0.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for extprint-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e593ff8bd729b50f1e48b37f3248ae119ee71129843056a00d9a0916dc8c7202
MD5 22fd0e0c73e79c4e31a61cafc9848fda
BLAKE2b-256 8f1afcbb749e9ae3eadaa41edf17595543e0ac099d5af76997d59c7a8345f2a3

See more details on using hashes here.

File details

Details for the file extprint-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: extprint-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for extprint-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ffdbd4d6f8fc8bbaa854c0462ff92baa17802dacd80b3c024575979ca9cdf5c5
MD5 c083bf1390f4322d5316c54aac42fa46
BLAKE2b-256 5de42991ed930e21dafcce6fcd744e2dc1399fc99f648855d7f87bf99c001502

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page