pyprocessors_glotlid
GlotLID annotations coming from different annotators
Parameters
| Parameter | Default | Description |
|---|---|---|
languages |
None |
Comma-separated list of languages to restrict the detection to, for example en,fr,es. If empty, all the languages known by the model are considered. |
Installation
You can simply pip install pyprocessors_glotlid.
Developing
Pre-requisites
You will need to install uv (for managing dependencies and running tests):
pip install uv
Clone the repository:
git clone https://github.com/oterrier/pyprocessors_glotlid
Running the test suite
Install dependencies and run the full test suite:
uv sync --extra test
uv run pytest
Linting
uv run ruff check .
uv run ruff format --check .
Building the documentation
uv run --extra docs sphinx-build docs docs/_build
The built documentation is available at docs/_build/index.html.
SBOM & vulnerability check
Install the SBOM dependencies:
uv sync --extra sbom
Generate a CycloneDX SBOM from the current environment:
uv run cyclonedx-py environment -o sbom.cdx.json --output-format json
Audit dependencies for known vulnerabilities:
uv run pip-audit --format json --output audit-report.json
To fail on any known vulnerability (useful in CI):
uv run pip-audit --strict
Metadata
Release files for pyprocessors-glotlid 1.6.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyprocessors_glotlid-1.6.20.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyprocessors_glotlid-1.6.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / pyprocessors_glotlid-1.6.20.tar.gz
| Download URL | pyprocessors_glotlid-1.6.20.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b2b0e26f5eb005f1fb91a32dfee08de082eb73030b4e8595e995adc3d9f5f46
|
|
BLAKE2b-256 checksum How to use checksums |
c830a835dcc7d9293c3065775efa0aa0631ece41bb688ad263577ec3fd2037ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pyprocessors_glotlid-1.6.20-py3-none-any.whl
| Download URL | pyprocessors_glotlid-1.6.20-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e04e8ccfa234117076408ef09b7a109f6eb39a61932827532465b762546cee4c
|
|
BLAKE2b-256 checksum How to use checksums |
1d0744108cd7522e9e54cfcbd7b622af7f55003db81b04f235ecc37e44cb80cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"12","id":"bookworm","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|