https://github.com/spignelon/cambridge-dictionary
Cambridge dictionary CLI using Beautiful Soup and sqlite3 database
https://github.com/spignelon/cambridge-dictionary
cambridge cambridge-dictionary cli cli-dictionary command-line dictionary dictionary-application dictionary-cli english-dictionary
Last synced: 10 months ago
JSON representation
Cambridge dictionary CLI using Beautiful Soup and sqlite3 database
- Host: GitHub
- URL: https://github.com/spignelon/cambridge-dictionary
- Owner: spignelon
- License: mit
- Created: 2022-09-27T13:59:01.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-27T15:35:10.000Z (over 3 years ago)
- Last Synced: 2025-03-24T02:11:42.275Z (11 months ago)
- Topics: cambridge, cambridge-dictionary, cli, cli-dictionary, command-line, dictionary, dictionary-application, dictionary-cli, english-dictionary
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cambridge-Dictionary
Cambridge dictionary CLI which also caches the words and meanings in a local database
---
### To setup first install:
1. ```pip install requests```
2. ```pip install bs4```
### Usage:
```python cambridge.py word```
---
### Usage tutorial
[](https://asciinema.org/a/K8mwaAYJTEpK2VRDEAZJ2jcWe)
---
Once you search for the word and gets the meaning, it saves it into a local database from which it retrieves them if you search for the same word again in the future instead of fetching it from the server. This makes it quick, run even when there's no internet connection (assuming that your local database is of substantial size) and prevents making too many queries to the server.