Metadata-Version: 2.0
Name: py-translate
Version: 0.1.4
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
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

py-translate
=============

.. image:: https://travis-ci.org/jjangsangy/py-translate.svg?branch=master
    :target: https://travis-ci.org/jjangsangy/py-translate

.. image:: https://badge.fury.io/gh/jjangsangy%2Fpy-translate.png
    :target: http://badge.fury.io/gh/jjangsangy%2Fpy-translate

.. image:: https://badge.fury.io/py/py-translate.png
    :target: http://badge.fury.io/py/py-translate

py-translate is a CLI Tool for Google Translate written in Python!

.. image:: img/alice.gif
    :alt: alice
    :align: center

:Author: Sang Han, 2014
:License: Apache Software License v2
:Version: 0.1.4

The end goal is a simple application for translating text in the terminal.
Text can be generated interactively or programmatically
in the shell enviornment. Through command line arguments,
file descriptors or pipes generating translated output
that can be piped to a file or displayed on the terminal.

Features
---------
- Simple command line parsing!
- Written in pure Python!
- Backwards compatable with Python 2.7
- Supports all language from Google Translate API
- The power of Unix pipes and filters
- Native UTF-8 Support

Installation
------------

>From PyPI with pip (easy)
~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: bash

    $ pip install py-translate


>From Source at Github
~~~~~~~~~~~~~~~~~~~~~

* Clone the repository

.. code-block:: bash

    $ git clone https://github.com/jjangsangy/py-translate.git

* Install with setup.py

.. code-block:: bash

    $ python setup.py install

Usage
-----
* Default will translate from english to target language

.. code-block:: bash

    # Translate Hello World in Chinese
    $ echo 'Hello World!' | translate zh-TW
    你好世界！

.. image:: img/helloworld.gif
    :alt: Hello
    :align: center

* Just as easily specify a source language by providing it as first
  argument

.. code-block:: bash

   # Translate Hello from French to English
   $ echo 'Bonjour, comment allez-vous!' | translate fr en
   Hello, how are you?

Documentation
-------------

Documentation is available at https://py-translate.readthedocs.org/


.. :changelog:

Release History
---------------
0.1.4 (2-14-7-5)
++++++++++++++++
- General Bug Fixes
- Speed Improvements
- Length of multibyte characters correctly represented by spooler
- Better support for utf-8.

0.1.3 (2014-4-7)
++++++++++++++++
- Implemented language discovery arg
- Bug Fixes

0.1.2 (2014-4-4)
++++++++++++++++

- Documentation reorganization

**Bug Fixes**

- Fixed unicode encode/decode errors

0.1.1 (2014-4-3)
++++++++++++++++

- 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-4-2)
++++++++++++++++

- 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-3-31)
+++++++++++++++++

- Support for Python 2.7 and 3.x
- Sphinx Documentation hosted
- Travis CI build passed!
- Source released on Github


