Home > goopytrans

goopytrans

Goopytrans is a project mainly written in Python, it's free.

Python Interface to Google's translation API.

Goopytrans

Goopytrans is a Python library for interfacing with Google's translation API.

Goopytrans is licensed under the Apache Licence, Version 2.0

Features

Goopytrans supports translating a single body of text.

>>> goopytrans.translate('bonjour', source='fr', target='en')
'hello'

Multiple bodies of text.

>>> goopytrans.translate_list(('bonjour','merci'), source='fr', target='en')
['hello', 'thank you']

And language detection

goopytrans.detect('bonjour') {'isReliable': False, 'confidence': 0.12033016000000001, 'language': 'fr'}

Install

python ./setup.py install

James Dennis <[email protected]>

Previous:sewebbdesign2