Metadata-Version: 2.1
Name: xiaoniu-tr-free
Version: 0.0.2
Summary: xiaoniu translate for free
Home-page: http://github.com/ffreemt/xiaoniu-tr-free
Author: mikeee
License: MIT License
Download-URL: https://github.com/ffreemt/xiaoniu-tr-free/archive/v_0.0.2.tar.gz
Description: # xiaoniu-tr-free
        
        xiaoniu translate for free -- local cache plus throttling (1.5 calls/s from 501st call on). Let's hope it lasts.
        
        ### Installation
        ``` pip install xiaoniu-tr-free -U```
        
        or
        * Install (pip or whatever) necessary requirements, e.g. ```
        pip install requests_cache langid``` or ```
        pip install -r requirements.txt```
        * Drop the file xiaoniu_tr.py in any folder in your PYTHONPATH (check with import sys; print(sys.path)
        * or clone the repo (e.g., ```git clone https://github.com/ffreemt/xiaoniu-tr-free.git``` or download https://github.com/ffreemt/xiaoniu-tr-free/archive/master.zip and unzip) and change to the xiaoniu-tr-free folder and do a ```
        python setup.py develop```
        
        ### Usage
        
        ```
        from xiaoniu_tr import xiaoniu_tr
        print(xiaoniu_tr('hello world'))  # -> '你好世界'
        print(xiaoniu_tr('Good morning', to_lang='de'))  # ->'Guten Morgen, wow'
        print(xiaoniu_tr('hello world', to_lang='fr'))  # ->'Bonjour le monde'
        print(xiaoniu_tr('hello world', to_lang='ja'))  # ->'こんにちは世界'
        ```
        
        ### Acknowledgments
        
        * Thanks to everyone whose code was used
        
Keywords: machine translation,free,scraping
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: License :: OSI Approved :: MIT License
Description-Content-Type: text/markdown
