cli-essentials-0.0.4
توضیحات
Python CLI building essentials
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cli-essentials-0.0.4 |
| نام | cli-essentials |
| نسخه کتابخانه | 0.0.4 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Daniel Gill |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/DanGill/cli-essentials |
| آدرس اینترنتی | https://pypi.org/project/cli-essentials/ |
| مجوز | MIT |
# **CLI Essentials**
#### Essential pieces of code aimed at making your Python projects a little bit better.
[](https://github.com/DanGill/cli-essentials/blob/master/LICENSE) [](https://pypi.org/project/cli-essentials/) [](https://www.python.org/) [](https://pypi.org/project/cli-essentials/)
### **Installation**
```
$ python -m pip install cli-essentials
```
### **Usage**
```python
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**
```python
from CLI import clear
print("Hello World!") # "Hello World!" is printed to the console
clear() # The console is clear again
```
- **Print**
```python
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
```

زبان مورد نیاز
| مقدار | نام |
|---|---|
| ~=3.3 | Python |
نحوه نصب
نصب پکیج whl cli-essentials-0.0.4:
pip install cli-essentials-0.0.4.whl
نصب پکیج tar.gz cli-essentials-0.0.4:
pip install cli-essentials-0.0.4.tar.gz