A python API wrapper for deepl.com translating service.
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pydeepl Module executable __main__ Oct 2, 2018
tests - Basic unit tests. Oct 24, 2017
.gitignore First commit Sep 1, 2017
.travis.yml Fixed travis config Oct 25, 2017
LICENSE Module executable __main__ Oct 2, 2018
MANIFEST Module executable __main__ Oct 2, 2018
MANIFEST.in Module executable __main__ Oct 2, 2018
README.rst README Apr 30, 2018
__init__.py Added auto detection Sep 1, 2017
requirements.txt Added requirements Oct 25, 2017
setup.py Module executable __main__ Oct 2, 2018

README.rst

Note: The comercial DeepL API has been released. You should use it instead subscribing to DeepL Pro.

pydeepl

https://api.travis-ci.org/EmilioK97/pydeepl.svg?branch=master

A Python API wrapper for the DeepL translation service.

Installation

pip install pydeepl

Getting Started

Python Version

Pydeepl was written for both Python 2 and Python 3.

Add pydeepl to your application

import pydeepl

sentence = 'I like turtles.'
from_language = 'EN'
to_language = 'ES'

translation = pydeepl.translate(sentence, to_language, from_lang=from_language)
print(translation)

# Using auto-detection
translation = pydeepl.translate(sentence, to_language)
print(translation)

Supported Languages

Pydeepl supports these languages:

Code Language
auto Auto detect
DE German
EN English
FR French
ES Spanish
IT Italian
NL Dutch
PL Polish
Note that auto detection is only possible for the source language.

Disclaimer

DeepL is a product from DeepL GmbH. More info: deepl.com/publisher.html

This package has been heavily inspired by node-deepls and DeepLy.

License

This project is licensed under the MIT License - see the LICENSE file for details