Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Add a short description here!

Project description

GitHub Actions status | sdras/awesome-actions codecov PyPI


Unofficial client for PONS online dictionary


Translates words scraping in the background.

Supported languages:

"ar": "Arabic",
"bg": "Bulgarian",
"zh": "Chinese",
"nl": "Dutch",
"en": "English",
"fr": "French",
"de": "German",
"el": "Greek",
"it": "Italian",
"la": "Latin",
"pl": "Polish",
"pt": "Portuguese",
"ru": "Russian",
"sl": "Slovenian",
"es": "Spanish",
"tr": "Turkish",
"cs": "Czech",
"da": "Danish",
"hu": "Hungarian",
"no": "Norwegian",
"sv": "Swedish",
"lb": "Elvish"


pip install ponstrans


>>> from ponstrans import translate
>>> translations = translate(word="hallo", source_language="de", target_language="en")
>>> translations[:2]
[{'source': 'hallo', 'target': 'hello'}, {'source': 'hallo (zur Begrüßung)', 'target': 'hi'}]


The performance is quite bad because it scrapes the whole html page in the background. Use the official (paid) API for better performance:

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ponstrans, version 1.1.1
Filename, size File type Python version Upload date Hashes
Filename, size ponstrans-1.1.1-py2.py3-none-any.whl (5.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page