No project description provided
Project description
Mark1 Translator
This is a small tool to translate from Google Translate, base on mtranslate by mouuff
It was reduce to the minimum expression and converted to use requests
Install
It is highly recommended to use it inside a virtual enviroment for your project, but can be install globally
Note: this instructions are made for ubuntu
$ pip3 install mark1_translate
$ virtualenv .venv
$ source .venv/bin/activate
$ pip install mark1_translate
$ python3
Example
On interactive console type
>>> from mark1_translate imprt translate
>>> translate('hola mundo', 'en', 'auto')
'Hello World'
On a project
from mark1_translate imprt translate
t = translate('hola mundo', 'en', 'auto')
print(t)
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
mark1-translate-0.1.2.tar.gz
(1.9 kB
view hashes)
Built Distribution
Close
Hashes for mark1_translate-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbdd44972e6896ac455a31233c93477ab84ef652e7f81a46733f0b545555a3e9 |
|
MD5 | afe6fc2c3e4e9a3b1b2a9a19d641ebfe |
|
BLAKE2b-256 | f482fec167bffef7e04c95663de20c5e65553d45b458af96be0c5852f1446a45 |