Skip to main content

powerful command line translator.

Project description

ztranslator

Simples tradutor de linha de comando, com mymemory.translated.net por trás. Você também pode usá-lo como um módulo python no seu código.

Instalação:

$ pip install ztranslator

Exemplos de uso:

Na linha de comando:

$ ztranslator --help
$ python -m translator --help

####Como um módulo python:

In [1]: from translator import Translator

In [2]: t = Translator(to_lang='pt-br')

In [3]: t.translate("Type copyright, credits or license for more information")
Out[3]: 'Digite copyright, créditos ou licença para mais informações'

Configuração para Desenvolvimento

$ git clone https://github.com/andreztz/ztranslator.git
$ virtualenv venv
$ pip install PyGObject==3.30.1
$ source venv/bin/activate
$ python setup.py develop

Histórico de lançamento

  • 0.0.4 - O primeiro lançamento adequado.
    • Trabalho em andamento

André Santos – @ztzandreandreztz@gmail.com

https://github.com/andreztz/ztranslator

Contribua

  1. Fork it (https://github.com/andreztz/ztranslator/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

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

ztranslator-0.0.4.tar.gz (23.7 kB view hashes)

Uploaded Source

Built Distribution

ztranslator-0.0.4-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

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