Skip to main content

A python API wrapper for DeepL translating service.

Project description

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

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

pydeepl-0.13.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file pydeepl-0.13.tar.gz.

File metadata

  • Download URL: pydeepl-0.13.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15

File hashes

Hashes for pydeepl-0.13.tar.gz
Algorithm Hash digest
SHA256 f166f9b1ecf73b7c937100f7584eb100df96a9452207ffcc999d6e4d42aa676d
MD5 e74359e0f97da5fdfbc75c58cd46d910
BLAKE2b-256 983f003782d06d8caddca3c4cdd0d6f24058225ad6fd7373bd157d926a40ac70

See more details on using hashes here.

Supported by

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