Description
This Python-based CLI app integrates with the Cambridge Dictionary to deliver precise word definitions directly from your terminal. It provides detailed definitions, usage examples, and intelligently handles past tense and past participle forms. The app also offers auto-suggestions for related words in case of typos and includes a persistent caching mechanism for faster access."
cambd alternatives and similar packages
Based on the "Command-line Tools" category.
Alternatively, view cambd alternatives based on common mentions on social networks and blogs.
-
httpie
๐ฅง HTTPie CLI โ modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more. -
Python Fire
Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. -
cookiecutter
A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects. -
HTTP Prompt
An interactive command-line HTTP and API testing client built on top of HTTPie featuring autocomplete, syntax highlighting, and more. https://twitter.com/httpie -
PathPicker
PathPicker accepts a wide range of input -- output from git commands, grep results, searches -- pretty much anything. After parsing the input, PathPicker presents you with a nice UI to select which files you're interested in. After that you can open them in your favorite editor or execute arbitrary commands. -
asciimatics
A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations -
shiv
shiv is a command line utility for building fully self contained Python zipapps as outlined in PEP 441, but with all their dependencies included. -
Pinboard.py
A full-featured Python wrapper (and command-line utility) for the Pinboard API. Built by the makers of Pushpin for Pinboard. -
python3-nmap
A python 3 library which helps in using nmap port scanner. This is done by converting each nmap command into a callable python3 method or function. System administrators can now automatic nmap scans using python -
R3CON1Z3R
R3con1z3r is a lightweight Web information gathering tool with an intuitive features written in python. it provides a powerful environment in which open source intelligence (OSINT) web-based footprinting can be conducted quickly and thoroughly. -
SubGrab
SubGrab is a utility that allows you to automate subtitles downloading for your media files. -
spline
Spline is a tool that is capable of running locally as well as part of well known pipelines like Jenkins (Jenkinsfile), Travis CI (.travis.yml) or similar ones.
Scout Monitoring - Free Django app performance insights with Scout Monitoring
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of cambd or a related project?
README
cambd-cli
Cambridge dictionary cli app for personal use
Why
This is a personal project I have been developing and using for a while. Since English is not my first language. I often had to search the meanings of new words I encounter in podcasts or movies. Personally the only dictionary I use is the Cambridge dictionary. It has very concise and very easy-to-understand definitions. And I often find myself going back to their site, so I made this CLI tool to automate the process.
Features
- Autosuggest related words if I mistyped the word when looking it up.
- 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.
- Caching mechanism; so that already looked up words does not gets fetched again. Hence fast results.
Installation
Make sure you have GNU make
and python(v3)
installed on your system.
# clone the repo
$ git clone https://github.com/rocktimsaikia/cambd-cli.git
# change the working directrory to cambd-cli
$ cd cambd-cli
# install the requirements
$ python3 -m pip install -r requirements.txt
# install cambd-cli
$ sudo make install
Usage
run cambd --help
Cambridge dictionary cli app
Usage:
$ cambd <word>
Options:
--clean-cache Clean the local cache.
--help Print this help.
Examples:
$ cambd neccessery
By default it caches the words in
$HOME/.cambd-cache.json
. To clear the cache if needed runcambd --clear-cache
. It is strongly recommended to not modify this file manually.
TODO
- [x] Add loading animation.
- [x] Handle error for getting definition of words with spaces.
- [x] Show only 2 examples per definition by default.
- [x] Implement a basic local caching mechanism.
- [x] Handle past/past-participle word definitions.
- [x] Refactor redirection for better word lookup.
- [x] Better/clean way to print the values in terminal.
- [ ] Add flag to show all definitions. Default is 1.
LICENSE
[MIT](./LICENSE) License © Rocktim Saikia 2022
*Note that all licence references and agreements mentioned in the cambd README section above
are relevant to that project's source code only.