expand-string-0.0.2
توضیحات
A helper package for expanding strings
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | expand-string-0.0.2 |
| نام | expand-string |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | J. A. Odur |
| ایمیل نویسنده | odurjoseph8@gmail.com |
| آدرس صفحه اصلی | https://github.com/ja-odur/exapnd-string |
| آدرس اینترنتی | https://pypi.org/project/expand-string/ |
| مجوز | - |
# expand_string
This library provides functions that allow you to expand a string
that contains parenthesis with numeric-values, and then expands that
into an actual string value.
# Installation
````bash
$ pip install expand_string
````
# Usage
Simple example:
````python
from expand_string import expand_string
expand_string('N3(S)N2(E3(NW))')
````
Would result in the output:
```bash
NSSSNENWNWNWENWNWNW
```
Shell example:
```bash
python -m expand_string 'N3(S)N2(E3(NW))'
```
Would result in the output:
```bash
NSSSNENWNWNWENWNWNW
```
For more details see the `expand_string` docstring.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3 | Python |
نحوه نصب
نصب پکیج whl expand-string-0.0.2:
pip install expand-string-0.0.2.whl
نصب پکیج tar.gz expand-string-0.0.2:
pip install expand-string-0.0.2.tar.gz