This release is a pre-release and may not be stable for production use.
ovos-plugin-linguonnx
OVOS language plugins built on
linguonnx. One package, two
plugins, both CPU-only on onnxruntime, both fully offline after the models
are cached, neither needs torch:
| Plugin | Entry point group | Plugin id |
|---|---|---|
LinguONNXLangDetectPlugin |
opm.lang.detect |
ovos-lang-detect-plugin-linguonnx |
LinguONNXTranslatePlugin |
opm.lang.translate |
ovos-translate-plugin-linguonnx |
Install
pip install ovos-plugin-linguonnx
Models download from HuggingFace on first use and are cached under
~/.cache/linguonnx/models/<model_id>/. Constructing either plugin does not
trigger a download; the first real call does. On a server, prefetch instead —
see Prefetching.
Usage
from ovos_plugin_linguonnx import LinguONNXLangDetectPlugin, LinguONNXTranslatePlugin
det = LinguONNXLangDetectPlugin()
det.detect("bom dia") # 'pt'
tx = LinguONNXTranslatePlugin()
tx.translate("Good morning", target="gl", source="en")
Documentation
- docs/language-detection.md — detection config, model choice, and language varieties.
- docs/translation.md — translation config, routing, and prefetching.
- docs/configuration.md — the full translation config reference, including the size/fallback routing budget.
- docs/docker.md — running both plugins as a server image.
- docs/deployment.md — cache mounts, prefetching, memory sizing, and the verification checklist for a production service.
- docs/errors.md — what
translate()raises and how to map it to HTTP status codes.
Credits
- linguonnx — the detection and translation engine this package wraps.
- TigreGotico/glotlid-onnx —
the ONNX export of GlotLID that
linguonnxruns for detection.
Metadata
Release files for ovos-plugin-linguonnx 0.3.3a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ovos_plugin_linguonnx-0.3.3a1.tar.gz | 17.6 kB | Without provenance | Details for ovos_plugin_linguonnx-0.3.3a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ovos_plugin_linguonnx-0.3.3a1-py3-none-any.whl | Python 3 | none | any | Details for ovos_plugin_linguonnx-0.3.3a1-py3-none-any.whl |
Total release size: 31.5 kB
Release files / ovos_plugin_linguonnx-0.3.3a1.tar.gz
| Download URL | ovos_plugin_linguonnx-0.3.3a1.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d54e4c5682499938ea21dc3f555335a77634fc8392be8453490f070baa6a9946
|
|
BLAKE2b-256 checksum How to use checksums |
c4cacbaf88fa5fda649d2dbc24f169b4ccfdae7cfb3e3cf0d4a4e2dee24bf061
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / ovos_plugin_linguonnx-0.3.3a1-py3-none-any.whl
| Download URL | ovos_plugin_linguonnx-0.3.3a1-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
346596d39ec2b86a7da8cd685c96abbe469f3463aaf9437a944578ae6378e8b0
|
|
BLAKE2b-256 checksum How to use checksums |
10f95688ce617766a04be88f79cf9ba514cc79f2c8a3c9827998e8b7dd618b2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for ovos-plugin-linguonnx 0.3.3a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.