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 – @ztzandre – andreztz@gmail.com
https://github.com/andreztz/ztranslator
Contribua
- Fork it (https://github.com/andreztz/ztranslator/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for ztranslator-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86ff4f976b86145b914fb439e2721fa4c37cf41d46410eb71ad705f129265a1a |
|
MD5 | f819118ccbcfa14ad5ade18ba2830d4f |
|
BLAKE2b-256 | feaadef772733b64b07cd6fa29cb1ff693aca36447fc20eac5b9ff813cc46a63 |