Metadata-Version: 1.1
Name: py-translate
Version: 0.1.6
Summary: A simple command line utility for translating text
    using Google Translate.
Home-page: https://github.com/jjangsangy/py-translate
Author: Sang Han
Author-email: jjangsangy@gmail.com
License: Apache Software License Version 2.0
Download-URL: https://github.com/jjangsangy/py-translate.git
Description: py-translate
        ------------
        
        |Documentation Status| |image| |image| |image|
        
        Py-translate is an easy to use translation tool for the command line.
        
        .. figure:: https://raw.githubusercontent.com/jjangsangy/py-translate/master/img/alice.gif
           :alt: Translate Lewis Carroll: Alice in Wonderland
        
           Translate Lewis Carroll: Alice in Wonderland
        The end goal is a simple application for translating text in the
        terminal. Text can be generated interactively or programmatically in the
        shell environment. Through command line arguments, file descriptors or
        pipes generating translated output that can be piped to a file or
        displayed on the terminal.
        
        Features
        --------
        
        -  Fast and easy to install, easy to use
        -  Implemented in ``Python 3.4``, backwards compatible to ``2.7``
        -  Even supports ``PyPy`` and ``PyPy 3k``
        -  Supports translation from any language
        -  Highly composable interface, the power of Unix pipes and filters.
        -  Simple API and documentation
        
        Installation
        ------------
        
        From PyPI with pip (easy)
        ~~~~~~~~~~~~~~~~~~~~~~~~~
        
        .. code:: sh
        
            $ pip install py-translate
        
        From Source at Github
        ~~~~~~~~~~~~~~~~~~~~~
        
        -  Clone the repository
        
        .. code:: sh
        
            $ git clone https://github.com/jjangsangy/py-translate.git
        
        -  Install with setup.py
        
        .. code:: sh
        
            $ python setup.py install
        
        Usage
        -----
        
        -  Default will translate from english to target language
        
        .. code:: sh
        
            $ translate zh-TW <<< 'Hello World!'
            你好世界！
        
        .. figure:: https://raw.githubusercontent.com/jjangsangy/py-translate/master/img/helloworld.gif
           :alt: Hello World
        
           Hello World
        Examples
        --------
        
        -  Just as easily specify a source language by providing it as first
           argument
        
        .. code:: sh
        
            # Translate Hello from French to English
            $ translate fr en <<< 'Bonjour, comment allez-vous!'
            Hello, how are you?
        
        Redirect from File
        ~~~~~~~~~~~~~~~~~~
        
        .. code:: sh
        
            $ translate zh-TW < 'alice.txt'
        
            阿麗思道：「你不是說你要告訴你的歷史嗎？告訴我你為甚麼恨—那個—那些—C和D，」
            她末了兩個字母輕輕兒地說的，怕回來又得罪了牠。
        
            那老鼠對著阿麗思嘆了一口氣道，「唉﹗我的身世說來可真是又長又苦又委屈呀—」
        
            阿麗思聽了，瞧著那老鼠的尾巴說，「你這尾是曲啊﹗可是為甚麼又叫它苦呢﹗」
            她就一頭聽著那老鼠說話，一頭在在心上納悶，所以她聽的那老鼠講的「尾曲」
            的歷史是差不多像這個樣了的
            ....
        
        Chaining together Pipes
        ~~~~~~~~~~~~~~~~~~~~~~~
        
        .. code:: sh
        
            # Multiple Chaining
            $ echo 'What is love?' | translate zh-TW | translate zh-TW ko | translate ko fr | translate fr en
            What is love?
        
        Be Creative!
        ~~~~~~~~~~~~
        
        .. code:: sh
        
            # Grocery List
            $ cat << BUY | translate ko
            Celery
            Milk
            Eggs
            Bread
            Cereal
            BUY
        
            셀러리
            우유
            달걀
            빵
            시리얼
        
        Documentation
        -------------
        
        Find the latest documentation http://pythonhosted.org//py-translate/
        
        .. |Documentation Status| image:: https://readthedocs.org/projects/py-translate/badge/?version=master
           :target: https://readthedocs.org/projects/py-translate/?badge=master
        .. |image| image:: https://badge.fury.io/gh/jjangsangy%2Fpy-translate.svg
           :target: http://badge.fury.io/gh/jjangsangy%2Fpy-translate
        .. |image| image:: https://travis-ci.org/jjangsangy/py-translate.svg?branch=master
           :target: https://travis-ci.org/jjangsangy/py-translate
        .. |image| image:: https://badge.fury.io/py/py-translate.svg
           :target: http://badge.fury.io/py/py-translate
        
        
        .. :changelog:
        
        Release History
        ---------------
        
        0.1.6 (2014-11-30)
        ++++++++++++++++++
        - Bug Fixes
        - Re-implmenenting concurrency models
        - Python 3 is now the base implemntation
        
        
        0.1.5 (2014-07-18)
        ++++++++++++++++++
        - Language Code Generator Fix
        
        0.1.4 (2014-07-05)
        ++++++++++++++++++
        - General Bug Fixes
        - Speed Improvements
        - Length of multibyte characters correctly represented by spooler
        - Better support for utf-8.
        
        0.1.3 (2014-04-07)
        ++++++++++++++++++
        - Implemented language discovery arg
        - Bug Fixes
        
        0.1.2 (2014-04-04)
        ++++++++++++++++++
        
        - Documentation reorganization
        
        **Bug Fixes**
        
        - Fixed unicode encode/decode errors
        
        0.1.1 (2014-04-03)
        ++++++++++++++++++
        
        - PyPy-c v2.2 now support
        
        **Bug Fixes**
        
        - Quick fix PyPI distribution (huge package sizes)
        - MANIFEST.in now does it job
        - Assorted fixes with methods and scope
        
        0.1.0 (2014-04-02)
        ++++++++++++++++++
        
        - GTranslate is taken on PyPI.
        - Name changed to py-translate
        - Distributed through PyPI and Wheel
        - More documentation and autoparsing for module functions
        - Separated into logical modules in a package rather than one executable __main__.py
        
        0.0.0 (2014-03-31)
        ++++++++++++++++++
        
        - Support for Python 2.7 and 3.x
        - Sphinx Documentation hosted
        - Travis CI build passed!
        - Source released on Github
        
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: Natural Language :: English
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Unix Shell
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Linguistic
Classifier: Topic :: Utilities
