qq translate for free
Project description
qq-tr-free
Qq translate for free
Installation
pip install qq-tr-free -U
or
- Install (pip or whatever) necessary requirements, e.g.
pip install requests_cache jmespath fuzzywuzzy
orpip install -r requirements.txt
- clone the repo (e.g.,
git clone https://github.com/ffreemt/qq-tr-free.git
or download https://github.com/ffreemt/qq-tr-free/archive/master.zip and unzip) and change to the qq-tr-free folder and do apython setup.py develop
orpython setup.py install
Usage
from qq_tr import qq_tr
print(qq_tr('hello world')) # -> '你好世界'
print(qq_tr('hello world', to_lang='de')) # ->'Hallo Welt'
print(qq_tr('hello world', to_lang='fr')) # ->'Bonjour à tous.'
Acknowledgments
- Thanks to everyone whose code was used
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
qq-tr-free-0.0.2.tar.gz
(4.6 kB
view details)
File details
Details for the file qq-tr-free-0.0.2.tar.gz
.
File metadata
- Download URL: qq-tr-free-0.0.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.32.1 CPython/3.6.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee5ed1e81c515f23d9a3b2a1d34e4c6102b7077b9bf2c813d82da04230e859b2 |
|
MD5 | f9841079a8f7734c75385e5551eea881 |
|
BLAKE2b-256 | acd90997553c9350f825ce783098ce6593501d058c1c4a510a60e16c764fa1b8 |