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 details)
Built Distribution
File details
Details for the file cli-essentials-0.0.4.tar.gz
.
File metadata
- Download URL: cli-essentials-0.0.4.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6335df44ca44f66ecbc6ab6a36c6383656de49976502fd687f2911575039252 |
|
MD5 | 938552717fe1e01d3ead0fc48c8cd4d2 |
|
BLAKE2b-256 | 4fb52f6463702fb918386e78f0ed70cfb9403acdbf4a7b074b049e6dc583f431 |
File details
Details for the file cli_essentials-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: cli_essentials-0.0.4-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 19dc11b97392e7170cd5e4f1fb6e0aa4a50b8ee79d90b392e05e91880c85f90e |
|
MD5 | 19b4bdac39207ca4544f152ce79b6251 |
|
BLAKE2b-256 | 056e08b6181093cbcf8255c05339b7d20bda7e9709cb296708bae25d38b57b18 |