Skip to content

Rockhopper-Technologies/ansicon

Repository files navigation

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

About

A Python wrapper for loading Jason Hood's ANSICON

Resources

License

MPL-2.0, Unknown licenses found

Licenses found

MPL-2.0
LICENSE
Unknown
LICENSE-ANSICON

Stars

Watchers

Forks

Packages

No packages published

Languages