nilslib

A small collection of tools


License
MIT
Install
pip install nilslib==0.2

Documentation

nilsLib.py

To install: pip install git+https://github.com/nils865/nilsLib.py/


Available commands:

  • clampDecimalPlace(Decimalplace,Number) - Clamps a float to a number of decimal places

  • setTTYFgCol(r,g,b) - sets the foreground to the rgb values provided

  • setTTYBgCol(r,g,b) - sets the background to the rgb values provided

  • resetColor() - resets the color to the default

  • clear() - clears the console

  • moveCursor(lines) - moves the cursor in the terminal, so you can print on different lines