Sign text for baidu fanyi
Project description
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
from baidu_sign import baidu_sign
print(baidu_sign("test")
# "431039.159886"
print(baidu_sign("test " * 10))
# 403909.183028
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
baidu-sign-0.1.0.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file baidu-sign-0.1.0.tar.gz
.
File metadata
- Download URL: baidu-sign-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c222bd3e1c99ac9e4d0c11fa419e1e24da6994d18cdc5b89889292d78c288ab5 |
|
MD5 | ae2cbf29cf848277abf5c371f78f5d0b |
|
BLAKE2b-256 | 3cc03b4240016875576c1a0bc567362e48c48778970380331da5e104939c45ef |
File details
Details for the file baidu_sign-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: baidu_sign-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1954cf1c0a2eb7be374c01e0f73f182895273dfc300ed7fdf885960efcc33226 |
|
MD5 | e1cefb7c713d837a8e45c8d5958c699e |
|
BLAKE2b-256 | f310145e7cabfd5ca6898e6e74e21c05e950921e2235335e18ad5bd2b5fba012 |