explaingit

theastroscout/linguin-api-py

Analysis updated 2026-05-18

0PythonAudience · developerComplexity · 2/5LicenseSetup · easy

TLDR

The official Python client for Linguin, a paid dictionary, reverse dictionary, translation, and app localization API.

Mindmap

mindmap
  root((linguin-api-py))
    What it does
      Dictionary lookup
      Reverse dictionary
      Translation
      UI localization
    Tech stack
      Python
      REST API client
    Use cases
      Word definitions
      Bulk string translation
      Async webhook results
    Audience
      Developers
      App builders

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Look up word definitions, pronunciation, and synonyms in any language from a Python app.

USE CASE 2

Find the right word for a description using the reverse dictionary search.

USE CASE 3

Translate text with a fast or context-aware deep translation mode.

USE CASE 4

Bulk-localize a list of UI strings into another language while keeping the order intact.

What is it built with?

Python

How does it compare?

theastroscout/linguin-api-py0xallam/my-recipe0xhassaan/nn-from-scratch
Stars00
LanguagePythonPythonPython
Last pushed2022-11-22
MaintenanceDormant
Setup difficultyeasymoderatemoderate
Complexity2/52/54/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Requires a paid Linguin API key, usage is billed per word or per call.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

In plain English

This is the official Python client library for Linguin, a paid online service that offers a multilingual dictionary, a reverse dictionary, text translation, and bulk translation for app interfaces. Rather than making raw web requests to Linguin's API yourself, you install this package and call a few simple Python functions to get the same results. The dictionary lookup can look up a word or phrase in any language, and you can choose between a fast mode that just gives you the definition or a deep mode that also returns pronunciation, example sentences, synonyms, word origin, and category information. There is also a reverse dictionary: instead of typing a word, you describe what you mean, like "a doctor for animals," and it returns the words that fit, such as "veterinarian." For translation, a fast mode gives a quick pass while a deep mode pays attention to context, idiom, and tone. There is an option to cross check the wording against how people currently use the language online, and another option that rewrites the output so it reads more naturally. For apps that need many short strings translated at once, like button labels or error messages, there is a bulk localize function that takes a list of strings and returns the same list translated, in the same order, so it lines up with your original keys. Some requests can take a while to process, so the library supports an optional webhook: instead of waiting for the response, you get an immediate ticket ID and Linguin sends the result to your own server when it is ready, or you can poll for it later using that ID. Using the library requires an API key from Linguin's website, since it is a paid, per word or per call service, though checking your account balance and usage reports does not cost anything. Errors from the API raise a Python exception with a specific error code you can check, like whether a word was not found or you were rate limited. The library has no external dependencies and requires Python 3.8 or newer. It is licensed under MIT, which allows free use including commercial use.

Copy-paste prompts

Prompt 1
Show me how to install linguin-api and look up a word definition in French.
Prompt 2
Help me write a function that uses linguin-api's localize method to translate my app's UI strings.
Prompt 3
Explain how to use the webhook option in linguin-api to handle long-running translation requests.
Prompt 4
Write error handling code for linguin-api's LinguinError, including a retry on rate limiting.

Frequently asked questions

What is linguin-api-py?

The official Python client for Linguin, a paid dictionary, reverse dictionary, translation, and app localization API.

What language is linguin-api-py written in?

Mainly Python. The stack also includes Python.

What license does linguin-api-py use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is linguin-api-py to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is linguin-api-py for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.