Skip to main content

A blessings polyfill for the windows command line

Project description

Intercessions

A blessings polyfill for the windows command line

Attempts to implement the full blessings API in a format that will work on windows. Makes use of colorama to help with styling.

Installation

pip install intercessions

Usage

from intercessions import Terminal

t = Terminal()
with t.location(0,0), t.hidden_cursor():
    print(t.bold_red('Hello World!') + t.clear_eol)
    raw_input('Press Enter' + t.clear_eol)

Known Issues

  1. Terminal.fullscreen will work, but will crash CMD/Powershell after exit. See tartley/colorama#139

  2. The following will not work as they have no command codes entered

  • standout

  • no_standout

  • subscript

  • no_subscript

  • superscript

  • no_superscript

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

intercessions-1.1.0.tar.gz (8.9 kB view hashes)

Uploaded Source

Built Distribution

intercessions-1.1.0-py2.py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 2 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