Unified language SDK — detection, transcription, romanization, translation, TTS routing
Project description
LoqalKit
Unified language SDK — detection, transcription, romanization, translation, and TTS routing.
LoqalKit is the client library for the Loqal language platform. It gives you one consistent API across language detection, speech-to-text, romanization, translation, and text-to-speech, and routes each request to the right engine for the target language.
Install
pip install loqalkit
Optional extras:
pip install "loqalkit[vad]" # voice-activity gating + segment timestamp refinement
pip install "loqalkit[localize]" # OOXML document localization
pip install "loqalkit[serve]" # run the bundled HTTP service
vad is strongly recommended for server use. Without it the voice-activity gate is skipped
and the transcription model is fed silence and noise, which it will readily hallucinate whole
languages over. Transcription still works without the extra — it is simply less accurate.
Authentication
LoqalKit routes model calls through the Loqal platform, which requires a key. The library raises on first use without one — it performs no useful work standalone.
export MANABU_APP_SECRET="..."
Keys are issued from the Loqal dashboard. Contact support@loqal.digital for access.
Usage
from pathlib import Path
from loqalkit import (
detect_language_from_text,
romanize_batch,
transcribe,
)
result = transcribe(Path("meeting.wav"), language="he", diarize=True)
detected = detect_language_from_text(result["text"])
roman = romanize_batch(["こんにちは", "ありがとう"], lang_code="ja")
romanize_batch returns a list aligned 1:1 with its input, using None for entries the
model did not romanize, so callers can fall back to untransliterated display. It never
raises.
Supported Python
Python 3.11 and newer.
License
Proprietary — see LICENSE. Third-party components are listed in THIRD_PARTY_NOTICES.md.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file loqalkit-1.6.4.tar.gz.
File metadata
- Download URL: loqalkit-1.6.4.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20bb45a3354cf6975a480103158b84571291a279887c890ed8fac54f65bee818
|
|
| MD5 |
c1175bfcf933d4cb2f993415606c79c3
|
|
| BLAKE2b-256 |
ed8f9aeaf2cb0f018ab049601289d61ff85d0b69387ffc0045aa596fdd67d2a2
|
Provenance
The following attestation bundles were made for loqalkit-1.6.4.tar.gz:
Publisher:
publish.yml on SoratoGroup/loqalkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
loqalkit-1.6.4.tar.gz -
Subject digest:
20bb45a3354cf6975a480103158b84571291a279887c890ed8fac54f65bee818 - Sigstore transparency entry: 2258112670
- Sigstore integration time:
-
Permalink:
SoratoGroup/loqalkit@a3671797372f3fb4a9e79b9543fa143f18d44680 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SoratoGroup
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a3671797372f3fb4a9e79b9543fa143f18d44680 -
Trigger Event:
push
-
Statement type:
File details
Details for the file loqalkit-1.6.4-py3-none-any.whl.
File metadata
- Download URL: loqalkit-1.6.4-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80dd871fed2f2fc350e6355058696529b380f3e78a127df4fb658cf0ac8c17c2
|
|
| MD5 |
0b1ff5c90b66b6cba315c5bcad337307
|
|
| BLAKE2b-256 |
daf89ab3fcb0586ec6b1c3dda19a83c597eedb1ae7a19c941a7135e1703e74bf
|
Provenance
The following attestation bundles were made for loqalkit-1.6.4-py3-none-any.whl:
Publisher:
publish.yml on SoratoGroup/loqalkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
loqalkit-1.6.4-py3-none-any.whl -
Subject digest:
80dd871fed2f2fc350e6355058696529b380f3e78a127df4fb658cf0ac8c17c2 - Sigstore transparency entry: 2258112997
- Sigstore integration time:
-
Permalink:
SoratoGroup/loqalkit@a3671797372f3fb4a9e79b9543fa143f18d44680 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/SoratoGroup
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@a3671797372f3fb4a9e79b9543fa143f18d44680 -
Trigger Event:
push
-
Statement type: