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, ou pode configurar uma combinação de teclas de atalho para que execute o ztranslator. Para isso basta passar --notify como parametro, que o ztranslator se encarrega de pegar a última entrada na área de transferência e exibir o texto traduzido em um simpático balãozinho no seu desktop.
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
$ cd ztranslator
$ virtualenv venv
$ source venv/bin/activate
$ pip install -e .
Histórico de lançamento
- 0.0.7 - 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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for ztranslator-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1e8039dd3d02092872b576bc7b8dff042d3331bb9ce4e885affa1e1ea5ae2601 |
|
MD5 | 0b6c94c815068f65f591a8bd9d64758f |
|
BLAKE2b-256 | 87f7a3480a171cf2ee167a1f8c9ff2cf385bb27ec386e3057c1d7bb08e46511a |