Cambridge is a terminal version of Cambridge Dictionary. Its dictionary data comes from https://dictionary.cambridge.org.
Project description
Cambridge
Cambridge is a terminal version of Cambridge Dictionary.
The dictionary data comes from https://dictionary.cambridge.org.
Screenshots
Look up a word
Look up a phrase
Why This
I'm a terminal person tired of pulling out a GUI app or browser, inputting words in the search bar, hitting the search button and then waiting for the result to render with a bunch of unnecessary static files coming along. Not only is the time taken long, but also switching apps back and forth can be annoying. So I wrote this console application with features to my satisfaction.
Feature Highlights
- EASY: Only needs one positional argument, which can be a word or a phrase.
- FAST: It usually takes 0.5 ~ 3 secs including the time for webpage fetching, depending on the network speed.
- NEAT: No unnecessary info, like ads, quizzes, pics, etc.
- DIRECT: It fetches the first dictionary on the Cambridge Organization webpage without similar dictionaries with similar meanings making people dizzy.
- CONSIDERATE: If not found, a list of related word suggestions will be displayed.
Installation
pip install cambridge
Usage
camb <word/phrase> # search a word or phrase. e.g. camb stone
camb <word/phrase with an apostrophe> # e.g. camb "a stone's throw" OR camb a stone\'s throw
camb -v <word/phrase> # search a word or phrase in verbose mode
camb l # list words you've searched successfully
camb l -d # delete a word from words' list
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cambridge-1.0.tar.gz
(486.7 kB
view hashes)
Built Distribution
Close
Hashes for cambridge-1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cec30e874f2b0178197a123f4e29cc3784ac2793ffc50351d7f01ad54b95e055 |
|
MD5 | 3488f502100fe4ed362d0eaa316f3883 |
|
BLAKE2b-256 | 0001f00ecba4da80d16e64b8e332b306bcd430bc07397cb2c3b6bd367dff6493 |