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 hashes)
Built Distribution
Close
Hashes for baidu_sign-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1954cf1c0a2eb7be374c01e0f73f182895273dfc300ed7fdf885960efcc33226 |
|
MD5 | e1cefb7c713d837a8e45c8d5958c699e |
|
BLAKE2b-256 | f310145e7cabfd5ca6898e6e74e21c05e950921e2235335e18ad5bd2b5fba012 |