Skip to main content

Command line interface for Folkets lexikon, the Swedish-English dictionary

Project description

swe - Swedish-English Dictionary

swe is a command-line interface to the great Swedish-English dictionary "Folkets lexikon". It works 100% offline. Users can explore translations, idioms, synonoms and more. It can also be used for finding words containing specific substrings, and for listening to the pronunciations of words.

Installation

You can install swe using pipx install swe

Zsh Completion

The repository includes a Zsh completion file _swe to enhance the user experience by enabling word auto-completion.

To enable Zsh completion, do the following:

$ cp swe/_swe ~/.zsh/completion/_swe
$ chmod +x ~/.zsh/completion/_swe

You will need to restart Zsh for the changes to take effect.

Usage

  1. swe -s ord - Print all words containing the specified substring ("ord" in this example).
  2. swe ord - Print the translation for the specified word
  3. swe - Play the sound of the latest translated word

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swe-0.3.1.tar.gz (13.9 kB view details)

Uploaded Source

Built Distribution

swe-0.3.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file swe-0.3.1.tar.gz.

File metadata

  • Download URL: swe-0.3.1.tar.gz
  • Upload date:
  • Size: 13.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for swe-0.3.1.tar.gz
Algorithm Hash digest
SHA256 945873eed26348a25442bb769f0433b6aeceba45574b119d576fe3825d5c7313
MD5 dd8d72034d61c6cde44108d6c267fbbb
BLAKE2b-256 dc5927bebd495a60850c6e35c1ae8493f9b166abd864c74aee78bf377a801449

See more details on using hashes here.

File details

Details for the file swe-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: swe-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for swe-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 33da73a0a532e605152777cc76812c80ee5e95f09af8fa027f8c1d10adf8683a
MD5 9fa04572fa52f1601f34e061012e9306
BLAKE2b-256 7aa1ed6692be37afb23a9d2e24dad740561848c6144fad1c35818df81a30c811

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page