Skip to main content

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

MIT

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)

Source distribution for leocli 3.4.4
File Size Uploaded
leocli-3.4.4.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for leocli 3.4.4
File Interpreter ABI Platform
leocli-3.4.4-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

3.4.4 This release

2 release files

3.4.3

2 release files

3.4.2

2 release files

3.4.1

2 release files

3.4.0

2 release files

3.3.1

2 release files

3.3.0

2 release files

3.2.0

2 release files

3.1.0

2 release files

3.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page