Boonleng's Python Library


License
Other
Install
pip install blib-py==0.1.1

Documentation

Boonleng's Python Library

This is a collection of some convenient functions, color schemes, etc. for convenient coding in the future.

Install Using the Python Package-Management System

pip install blib-py

Install from Source for System-Wide Usage

Download the project from either GitHub or ARRC GitLab:

git clone https://github.com/boonleng/blib-py.git

or

git clone https://git.arrc.ou.edu/cheo4524/blib-py.git

Change directory to the project folder and install using pip.

cd blib-py
pip install .

Use It Without Instlallation

It is possible to use this library without installation. Assuming that you downloaded the project into the folder ~/Developer/blib-py/src, you can add the path to Python's search path as follows.

import os
import sys

sys.path.insert(0, os.path.expanduser('~/Developer/blib-py/src'))

import blib

Theme / Colors

A theme can be activated by:

blib.useTheme("light")

blib.showLineColors()

light

blib.useTheme("dark")

blib.showLineColors()

dark