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.4.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for cli_essentials-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19dc11b97392e7170cd5e4f1fb6e0aa4a50b8ee79d90b392e05e91880c85f90e |
|
MD5 | 19b4bdac39207ca4544f152ce79b6251 |
|
BLAKE2b-256 | 056e08b6181093cbcf8255c05339b7d20bda7e9709cb296708bae25d38b57b18 |