Skip to main content

Takes control of terminal

Project description

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
    from termspark.termspark import TermSpark

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

Project details


Download files

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

Built Distribution

termspark-0.0.6-py3-none-any.whl (5.1 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page