leocli
A command line translation tool for https://dict.leo.org
leocli is a python script that queries dict.leo.org for one or more given keywords
and prints their meanings and translations to stdout
Installation
pipx install leocli
Development install
poetry install
Usage
poetry shell
leo --help
usage: leo [-h] [-l lang] [-e] [--pager pagercmd] [--version] word [word ...]
leocli - a console translation script for https://dict.leo.org/ .
positional arguments:
word the words you want to translate
optional arguments:
-h, --help show this help message and exit
-l lang, --lang lang the languagecode to translate to or from en, fr, es,
it, ch, ru, pt, pl
-e, --emojis Use emoji language flags for languages. Your terminal
font must support this feature.
--pager pagercmd The pager command to use. Default: 'less -R -I -S -X'.
Use `--pager=` to disable the pager.
--version show program's version number and exit
License
Metadata
Release files for leocli 3.4.4
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 |
|---|---|---|---|---|
| leocli-3.4.4.tar.gz | 6.8 kB | Without provenance | Details for leocli-3.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| leocli-3.4.4-py3-none-any.whl | Python 3 | none | any | Details for leocli-3.4.4-py3-none-any.whl |
Total release size: 15.7 kB
Release files / leocli-3.4.4.tar.gz
| Download URL | leocli-3.4.4.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36f78dcc6c6583b91229673551e1bed1541f610a83eb0ebec98eca13209f3344
|
|
BLAKE2b-256 checksum How to use checksums |
83d66d7483eb37f04c3129fe45b0a2db9ff3aa5fdd32b540a660fe863ed8674a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Linux/6.1.61-hardened1
|
Release files / leocli-3.4.4-py3-none-any.whl
| Download URL | leocli-3.4.4-py3-none-any.whl |
|---|---|
| Size | 9.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1a4b15648ae9484948588a5f0069cc04f3c72cee46cfcdb1999abefff940a201
|
|
BLAKE2b-256 checksum How to use checksums |
374eb53c9f5a0f84318d67a6f383d35b4fc8edd442a192f3acc31ccfe1d82cd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.6 Linux/6.1.61-hardened1
|
Security for leocli 3.4.4
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.