{"categories":[{"label":"Interface Engine/Protocol Translator","url":"https://skillfed.io/packages/category/scientific-engineering-interface-engine-protocol-translator"}],"enrichment":{"capability":"Python client library for the LibreTranslate API that provides text translation, language detection, and language listing across multiple translation backends.","skillfed_tags":["translation-api","language-detection"],"use_cases":["Translate user-submitted text in a web application by calling a LibreTranslate mirror without managing HTTP requests directly.","Detect the language of incoming messages to route them to language-specific processing pipelines.","Query available languages from a LibreTranslate endpoint to populate UI dropdowns or validate language codes.","Build a simple CLI tool that wraps LibreTranslate for batch text translation tasks."],"what_it_does":"LibreTranslate-py is a lightweight Python wrapper around the LibreTranslate API, a free and open-source translation service. It handles the HTTP communication with a LibreTranslate endpoint and exposes three main operations: translating text between language pairs, detecting the language of input text, and retrieving the list of supported languages. The package uses only Python standard library (urllib and json), so it has zero runtime dependencies and installs quickly.\n\nYou point it at a LibreTranslate endpoint\u2014either a public mirror or a self-hosted instance\u2014and call methods to translate, detect, or list languages. It's useful when you want programmatic access to LibreTranslate without building HTTP requests manually. The package is stable and permissively licensed, but has not been updated in over 850 days, so compatibility with the latest LibreTranslate API versions should be verified before relying on it in production.","worth_installing":"Yes, if you are already using LibreTranslate and want a simple Python client. The package is permissively licensed, has no dependencies, and installs cleanly. However, verify that it works with your target LibreTranslate version before production use, given the 850-day gap since the last release. For new projects, consider whether calling the LibreTranslate API directly via requests or urllib is simpler than adding a dependency."},"id":"libretranslatepy","links":{"html":"https://skillfed.io/packages/libretranslatepy","md":"https://skillfed.io/packages/libretranslatepy.md","pypi":"https://pypi.org/project/libretranslatepy/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-04-16","license_spdx":null,"license_treatment":"permissive","name":"libretranslatepy","python_support":"supports_current","summary":"Python bindings for LibreTranslate API"},"popularity":{"monthly_downloads":414381,"position":6834,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.4"}
