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.2.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for cli_essentials-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 711dad2f42d99b56c06d220a12292f825d040325fe3ad70673f41027de65c781 |
|
MD5 | af04b503e313bf0198d596f5aa64e1f9 |
|
BLAKE2b-256 | 16a5b7022c00a65d43577567d46fc362c3a294e700df4e2df180aadc97b8cc1f |