Skip to main content

Python wrapper for loading Jason Hood's ANSICON

Project description

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()

Project details


Download files

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

Files for ansicon, version 1.89.0
Filename, size File type Python version Upload date Hashes
Filename, size ansicon-1.89.0-py2.py3-none-any.whl (63.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size ansicon-1.89.0.tar.gz (67.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page