alyssum-0.0.9
توضیحات
A small helper package for personal needs
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | alyssum-0.0.9 |
| نام | alyssum |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Erdem Aybek |
| ایمیل نویسنده | eaybek@gmail.com |
| آدرس صفحه اصلی | https://github.com/eaybek/alyssum |
| آدرس اینترنتی | https://pypi.org/project/alyssum/ |
| مجوز | - |
# Alyssum
this package contains my personal helpers if you want to use below the usage examples
## Title
```python
from alyssum.seperators import Title
title = Title(label='Default Text', length=80, color='yellow', design_char='*')
title.configure(label='Default Text', length=80,color='blue',design_char='*')
title.write() # writes "Default Text"
title.write("any title") # writes "any title"
title.configure(color=blue).write("any title") # can be usable
```
label length can not be greater than (length - 2)
color can be 'grey', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan' or 'white'
length must be greater than 1 and smaller than 81
## Cleaner
```python
from alyssum.cleaners import Cleaner
Cleaner.clean("Hello World!")
```
## Decorators
```python
from alyssum.decorators import run_once, run_only
@run_once
def hello():
print("hello")
@run_only(2)
def hello():
print("hello")
@run_once_message("It's come to end")
...
@run_only(3,"It's come to end"):
...
@run_only()
...
```
نیازمندی
| مقدار | نام |
|---|---|
| - | termcolor |
نحوه نصب
نصب پکیج whl alyssum-0.0.9:
pip install alyssum-0.0.9.whl
نصب پکیج tar.gz alyssum-0.0.9:
pip install alyssum-0.0.9.tar.gz