The Linguin API now has a Python SDK. Call it like a library instead of writing HTTP by hand.
pip install linguin-api
from linguin_api import Linguin
linguin = Linguin("YOUR_API_KEY")
entry = linguin.lookup("bonjour", lang="fr")
result = linguin.translate("Hola, ¿cómo estás?", from_lang="es", to="en")
Every endpoint is a method: lookup, reverse, translate, localize, plus the account calls. Each returns a plain dict, and errors raise a LinguinError you catch by code.
Zero dependencies, pure standard library, Python 3.8 and up. MIT licensed and open source.
The package is on PyPI, the source on GitHub, and the full reference in the docs.