A simple wrapper for ANSI escape codes
Project description
simpleANSI
This is a simple wrapper library for ANSI escape codes. GitHub: https://github.com/AwesomeCronk/simpleANSI PyPI: https://pypi.org/project/simpleANSI/0.1.0/
Installation
pip install simpleANSI
Functionality
This is the directory of the package. Functions are denoted as function(args)
. Constants are denoted as constant = value
. Anything with a listing under it is a module.
simpleANSI
|-conhostEnableANSI()
|-clear
| |-Screen()
| |-ScreenToEnd()
| |-ScreenToBeg()
| |-EntireScree()
| |-Line()
| |-LineToEnd()
| |-LineToBeg()
| `-EntireLine()
|-cursor
| |-Home()
| |-MoveTo(line, column)
| |-MoveUpBy(lines)
| |-MoveDownBy(lines)
| |-MoveRightBy(columns)
| |-MoveLeftBy(columns)
| |-MoveBegNext(lines)
| |-MoveBegPrev(lines)
| |-MoveToCol(column)
| |-SavePos()
| `-RestorePos()
`-graphics
|-normal = 0
|-bold = 1
|-underline = 4
|-blink = 5
|-invert = 7
|-invisible = 8
|-fgBlack = 30
|-fgRed = 31
|-fgGreen = 32
|-fgYellow = 33
|-fgBlue = 34
|-fgMagenta = 35
|-fgCyan = 36
|-fgWhite = 37
|-fgColor = 38
|-bgBlack = 40
|-bgRed = 41
|-bgGreen = 42
|-bgYellow = 43
|-bgBlue = 44
|-bgMagenta = 45
|-bgCyan = 46
|-bgWhite = 47
|-bgColor = 48
|-mode8Bit = 5
|-mode16Bit = 2
`-setGraphicsMode(*args)
Resources:
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
simpleANSI-1.0.0.tar.gz
(3.6 kB
view hashes)
Built Distribution
Close
Hashes for simpleANSI-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | df844ce7c8ed89464e0e5fce63258f4c9342ad7d34d22c9b1332d77b94769640 |
|
MD5 | fe6f65e988636de70079bf9abc41b776 |
|
BLAKE2b-256 | 6535bade5c37847f1e4cbaafe1597d1cdd614e55a3a9484bb9527ff4709f1e52 |