Python CLI building essentials
Project description
CLI Essentials
Essential pieces of code aimed at making your Python projects a little bit better.
Installation
$ python -m pip install cli-essentials
Usage
from CLI import <feature> # This will import only one feature of your choosing
# --or--
from CLI import <feature1>, <feature2>, ... # This will import as many features as you would like
# --or--
from CLI import * # This will import all CLI features
Feature List
-
Clear
from CLI import clear print("Hello World!") # "Hello World!" is printed to the console clear() # The console is clear again
-
Print
from CLI import print # This will not effect existing print functions in your program print("Apple", color="red") # "Apple" is printed to the console with a Red foreground color print("Sky", color="blue", bcolor="white") # "Sky" is printed in Blue with a White background
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cli-essentials-0.0.1.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for cli_essentials-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dc4020a44860e5cecb9ad92e051b08a41667024bbd2051d88ebeeae27e1fecd |
|
MD5 | 6b35e0afcd96ecd0f71e7f7703c8a200 |
|
BLAKE2b-256 | 90f3401910ede0be43ee2982f06aa1e4078b0a51a52c9630f5e227a1b77028c2 |