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.18
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.18.tar.gz | 6.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyprocessors_glotlid-1.6.18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.2 kB
Release files / pyprocessors_glotlid-1.6.18.tar.gz
| Download URL | pyprocessors_glotlid-1.6.18.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bd7540695bce6666363b4f1a7740e8fca1569391a5c3589be866b0930f859a3
|
|
BLAKE2b-256 checksum How to use checksums |
883782658e1cdf268230c6812724234e2591a4c661598e63d7357db075c68efd
|
| 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.18-py3-none-any.whl
| Download URL | pyprocessors_glotlid-1.6.18-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b400b689a40761637282b87b5bcbc15f71b5cc6b21e12269243e7f4cbc58d7d2
|
|
BLAKE2b-256 checksum How to use checksums |
2fafe3078cc87779f59b975c893262da05e4514bea9638050f6cb14c20d0b74b
|
| 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}
|