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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file cambd-1.0.1.tar.gz.

File metadata

  • Download URL: cambd-1.0.1.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for cambd-1.0.1.tar.gz
Algorithm Hash digest
SHA256 54b1aa6b48b8a13e2aecc9df5df3b2b3d741bd1a5d9dc51ab8c23b984f34b1f0
MD5 7eea7f2b50c7d011e469a4edf4f6f848
BLAKE2b-256 1e28f7ab23ac3d128f5f40f26f603ea953ea11a99ff3dd6b3178f756226172b9

See more details on using hashes here.

File details

Details for the file cambd-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: cambd-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.12

File hashes

Hashes for cambd-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 49ed6d9a20e666b5764d549c5f3ee01c0c56fabe2fe2885eab8856e20fde8872
MD5 7f2e799d30a618c459acb750628108d9
BLAKE2b-256 87af312961b7a594fd88bb3b038285548896b611ba9c244784487f71f6507ba9

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