An open API service indexing awesome lists of open source software.

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

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
[![asciicast](https://asciinema.org/a/K8mwaAYJTEpK2VRDEAZJ2jcWe.svg)](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.