Skip to main content

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 or pip 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 a python setup.py develop or python 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'))  # ->'Salut tout le monde'
print(qq_tr('hello world', to_lang='ja'))  # ->'ハローワールド'

Acknowledgments

  • Thanks to everyone whose code was used

Project details


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.1.tar.gz (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page