ansicon 1.89.0


pip install ansicon

  Latest version

Released: Apr 29, 2019

Project Links

Meta
Author: Avram Lubkin
Maintainer: Avram Lubkin

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Console

Intended Audience
  • Developers

License
  • OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)

Operating System
  • Microsoft :: Windows

Programming Language
  • Python
  • Python :: 2.7
  • Python :: 3.4
  • Python :: 3.5
  • Python :: 3.6
  • Python :: 3.7
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Topic
  • Utilities
Appveyor Build Status Coverage Status
PyPI Package latest release Supported versions Supported implementations

Overview

ansicon is a Python wrapper for loading Jason Hood’s ANSICON

Installation

$ pip install ansicon

Usage

import ansicon

# Load ansicon
ansicon.load()

# Have fun with terminal codes
print(u'\x1b[32mGreen\x1b[m')

# Unload ansicon
ansicon.unload()

# Check if ansicon is loaded
if not ansicon.loaded():
    ansicon.load()
if ansicon.loaded():
    ansicon.unload()

Wheel compatibility matrix

Platform Python 2 Python 3
any

Files in release

No dependencies