Cambd
Cambridge dictionary cli app
Features
- Automatically suggests related words when a typo is detected.
- Provides an interactive suggestion menu for selecting the correct word in case of a typo.
- Supports past and past participle forms, returning the definition of the root word.
- Operates without relying on any external APIs or databases.
- Implements persistent caching to store previously searched words, ensuring faster results. The cache is maintained using Python's built-in
sqlite3.
Install
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.
FAQ
Q. Why scrape instead of using a Dictionary API?
LICENSE
MIT License © Rocktim Saikia 2024
Metadata
Release files for cambd 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cambd-1.0.2.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cambd-1.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.3 kB
Release files / cambd-1.0.2.tar.gz
| Download URL | cambd-1.0.2.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5ef44ab6935a7e652d13cf09cec96bbc558e3e2bb6a1b741ce6b68931d1f4d9c
|
|
BLAKE2b-256 checksum How to use checksums |
27884e5e38be13dab1f710aaff27c78fab9a81486739124556192a0766757620
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / cambd-1.0.2-py3-none-any.whl
| Download URL | cambd-1.0.2-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2204a54c1fa2a6c06c6baeaa33cc73f0bb9b2514eb82d7ea2b187e7a31090533
|
|
BLAKE2b-256 checksum How to use checksums |
c335691371655cfac06e31cd210bb553fe7acab08006a367862e6a63b7bc5a3d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|