Skip to main content

Cambridge dictionary cli app

Project description

cambd

Cambridge dictionary cli app

cambd, Cambridge dictionary cli app

Features

  • Autosuggest related words on typo.
  • Interactive suggestion menu to select words from in the above case.
  • Handles past and past-particle words. Returns the original word definition.
  • No API/database involved.
  • A Persistent caching mechanism. This avoids looking up already searched words; hence fast results.

Uses python's integrated sqlite3 for maintaning a persistent cache.

Installation

pip install cambd

Usage

Usage: cambd [OPTIONS] WORD

Options:
  -a, --show-all         Show all the definitions of a word.
  -d, --dictionary TEXT  Determine which dictionary region to use (uk, us) [default: uk]
  -v, --verbose          Show extra word info ie, word codes & labels. [ex: A2 informal]
  -c, --clear-cache      Clear all the stored cache from system.
  --version              Show the version and exit.
  --help                 Show this message and exit.

By default it caches words in $HOME/.cambd-cache.db. To clear the cache if needed
run cambd --clear-cache. It is strongly recommended to not modify this file manually.

LICENSE

MIT License © Rocktim Saikia 2022

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

cambd-1.0.1.tar.gz (5.9 kB view hashes)

Uploaded Source

Built Distribution

cambd-1.0.1-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

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