decompose-mrobison-0.0.2
توضیحات
A module for decomposing strings in the latin alphabet to the ascii subset.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | decompose-mrobison-0.0.2 |
| نام | decompose-mrobison |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Mike Robison |
| ایمیل نویسنده | mrobison@wts.edu |
| آدرس صفحه اصلی | https://github.com/wts-dev/decompose |
| آدرس اینترنتی | https://pypi.org/project/decompose-mrobison/ |
| مجوز | - |
# Decompose
This module provides a method for decomposing strings containing latin diacretics, ligatures,
and other unusual latin letters into their appropriate ascii counterparts generally for the purpose
of data for submission into systems requiring the usage of the ascii subset.
## Example
```python
from decompose import decompose
decompose('Málaga') # returns 'Malaga'
```
## Comments
decompose.decompose() depends upon unicodedata.normalize() for most of its heavy lifting.
However, it also contains a lookup table (decompose.charmap) for those unicode characters that are
not necessarily handled by normalize(). Any letter not handled by either normalize or charmap will
be silently dropped.
نحوه نصب
نصب پکیج whl decompose-mrobison-0.0.2:
pip install decompose-mrobison-0.0.2.whl
نصب پکیج tar.gz decompose-mrobison-0.0.2:
pip install decompose-mrobison-0.0.2.tar.gz