example-lfuncs-0.1
توضیحات
A few functions to teach Python and PIP
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | example-lfuncs-0.1 |
| نام | example-lfuncs |
| نسخه کتابخانه | 0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | jdamerow |
| ایمیل نویسنده | jdamerow@asu.edu |
| آدرس صفحه اصلی | https://github.com/diging-training/example-package-lfuncs |
| آدرس اینترنتی | https://pypi.org/project/example-lfuncs/ |
| مجوز | - |
# Example package for teaching pip usage with Python
This package contains a module `lfuncs` that has the following functions:
- `find_startswith_in_list(prefix, list)` given a prefix and a list, this functions will return a list with all the elements in provided list that start with the provided prefix. The function assumes prefix and all list elements are strings.
- `find_endswith_in_list(suffix, list)` given a suffix and a list, this functions will return a list with all the elements in provided list that end with the provided suffix. The function assumes suffix and all list elements are strings.
- `split_lists(list, prefix)` given a prefix and a list, this functions will return two lists, one that contains all elements that start with the provided prefix and one with all other elements. The function assumes prefix and all list elements are strings.
- `joke()` prints a joke.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl example-lfuncs-0.1:
pip install example-lfuncs-0.1.whl
نصب پکیج tar.gz example-lfuncs-0.1:
pip install example-lfuncs-0.1.tar.gz