Skip to main content

Takes control of terminal

Project description

Test Python package PyPI PyPI - Python Version PyPI - Status

Installation

    pip install termspark

Usage

    from termspark import TermSpark

    TermSpark().print_right('RIGHT')
    TermSpark().print_left('LEFT')
    TermSpark().print_center('CENTER')
    TermSpark().line('.')

    TermSpark().print_left('LEFT').print_right('RIGHT').set_separator('.')
    TermSpark().print_left('LEFT').print_center('CENTER').print_right('RIGHT').set_separator('.')

Note Separator can contain only one character max.

You can also paint your content

Supported colors:

  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white
  • gray
  • light red
  • light green
  • light yellow
  • light blue
  • light magenta
  • light cyan
    from termspark.termspark import TermSpark

    TermSpark().print_right('RIGHT', 'blue')
    TermSpark().print_left('LEFT', 'light red')
    TermSpark().print_center('CENTER', 'light_green')

Supported highlights:

  • black
  • red
  • green
  • yellow
  • blue
  • magenta
  • cyan
  • white
  • gray
  • light red
  • light green
  • light yellow
  • light blue
  • light magenta
  • light cyan
    from termspark.termspark import TermSpark

    TermSpark().print_right('RIGHT', None, 'light_magenta')
    TermSpark().print_left('LEFT', 'red', 'white')
    TermSpark().print_center('CENTER', 'white', 'light blue')

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

termspark-0.0.8-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

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