Skip to main content

Google Translate based api

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

Note: this instructions are made for ubuntu

It is highly recommended to use it inside a virtual enviroment for your project, but can be install globally with

$ pip3 install mark1_translate

Or in a virtual enviroment

$ 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.7.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mark1_translate-0.1.7-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file mark1-translate-0.1.7.tar.gz.

File metadata

  • Download URL: mark1-translate-0.1.7.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.8.0-59-generic

File hashes

Hashes for mark1-translate-0.1.7.tar.gz
Algorithm Hash digest
SHA256 b518590aec5dc9b97133eabe504bbf24f83b71fd545c6bdd937decdd1114b247
MD5 3406e8ba07ac25b2d92ff5c068495ae6
BLAKE2b-256 c858b20b8b9ea6756b5c0b68b0d9d3625f99adc6288092623b363d23b943d597

See more details on using hashes here.

File details

Details for the file mark1_translate-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: mark1_translate-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.10 Linux/5.8.0-59-generic

File hashes

Hashes for mark1_translate-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 fccb328a160c3d3f3a8d7653df3c4de1fde9683c5fc670fff92595af2a8f4f7f
MD5 8b6e8ce276763e3ac718902855ea3250
BLAKE2b-256 a1b825ab0c8262a80f8fcc7f8df74fdfdfdb92580012197e103fdd7b9c0f312c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page