baidu-sign-0.1.0
توضیحات
Sign text for baidu fanyi
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | baidu-sign-0.1.0 |
| نام | baidu-sign |
| نسخه کتابخانه | 0.1.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | ffreemt <yucongo+fmt@gmail.com> |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/baidu-sign/ |
| مجوز | MIT |
# baidu-sign
[](https://github.com/ffreemt/baidu-sign/actions)[](https://www.python.org/downloads/)[](https://github.com/psf/black)[](https://opensource.org/licenses/MIT)[](https://badge.fury.io/py/baidu_sign)
Sign text for baidu fanyi
## Intro
`baidu_sign` makes use of `google_sign` for text shorter than 31 characters which is about
30 times faster than `js2py_sign`. `google_sign` is a direct python implementation
while `js2py_sign` is converted from js to python using `js2py`.
## Install it
```
pip install baidu-sign
```
## Use it
```python
from baidu_sign import baidu_sign
print(baidu_sign("test")
# "431039.159886"
print(baidu_sign("test " * 10))
# 403909.183028
نیازمندی
| مقدار | نام |
|---|---|
| - | google-sign>=0.0.2 |
| - | js2py>=0.74 |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl baidu-sign-0.1.0:
pip install baidu-sign-0.1.0.whl
نصب پکیج tar.gz baidu-sign-0.1.0:
pip install baidu-sign-0.1.0.tar.gz