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 hashes)