epydz-1.0.0
توضیحات
A Python library containing useful functions in the Algerian language
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Microsoft :: Windows :: Windows 10 |
| نام فایل | epydz-1.0.0 |
| نام | epydz |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | talbi mohamed,alexmm |
| ایمیل نویسنده | monwin966@gmail.com |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/epydz/ |
| مجوز | - |
# Package
A python library containing useful functions.
Installation:
pip install epydz
# Example usage
from epydz import *
result = 5
lokan(result == 5, lambda: werili(result))
Functions:
werili: #takes any number of arguments and concatenates them into a string separated by sep. The resulting string is then printed to the console followed by end.
dekhel: #prompts the user for input and returns the user's response as a string.
lokan:# takes a boolean condition and a function result_fn. If condition is True, the function result_fn is called and its result is returned. Otherwise, None is returned.
ilokan: #similar to lokan, but returns a default value instead of None if the condition is false.
tsema: #returns a default value for use in ilokan.
akesam: #splits a string into a list of items based on a separator.
akelab: #returns a reversed list of items.
motawasit: #returns the average of a list of numbers.
nisf: #returns the median of a list of numbers
ahseb: #returns the number of words in a string.
dirr: #Loop for the specified maximum number (100) of iterations or until a non-None value is returned.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.0 | Python |
نحوه نصب
نصب پکیج whl epydz-1.0.0:
pip install epydz-1.0.0.whl
نصب پکیج tar.gz epydz-1.0.0:
pip install epydz-1.0.0.tar.gz