eng_join-0.1.0
توضیحات
A simple english joiner.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | eng_join-0.1.0 |
| نام | eng_join |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kenneth Reitz |
| ایمیل نویسنده | me@kennethreitz.org |
| آدرس صفحه اصلی | https://github.com/kennethreitz/eng_join |
| آدرس اینترنتی | https://pypi.org/project/eng_join/ |
| مجوز | MIT |
eng_join: a simple english joiner
=================================
This module is pretty self-explanatory.
::
>>> from eng_join import join
>>> join(['blue', 'red', 'yellow'], conj='or', im_a_moron=True)
'blue, red or yellow'
>>> join(['blue', 'red', 'yellow'], conj='or')
'blue, red, or yellow'
>>> join(['blue', 'red'], conj='or')
'blue or red'
>>> join(['blue', 'red'], conj='and')
'blue and red'
>>> join(['blue'], conj='and')
'blue'
>>> join(['blue', 'red', 'yellow', 'green', 'yello'], conj='and')
'blue, red, yellow, green, and yello'
نحوه نصب
نصب پکیج whl eng_join-0.1.0:
pip install eng_join-0.1.0.whl
نصب پکیج tar.gz eng_join-0.1.0:
pip install eng_join-0.1.0.tar.gz