Cambridge Dictionary
Search the meaning of the word from Cambridge Dictionary online, and get the result in JSON format
Installation
You can install the cambridict from PyPI:
pip install cambridict
How to use
import json
from cambridict import Cambridge
d = Cambridge('EV')
word = 'take'
data = d.search(word)
result = '{0}.json'.format(word)
with open(result, 'w') as fp:
json.dump(data, fp, indent=4)
Sample output take.json
Supported dictionaries
| Name | Dictionary |
|---|---|
EE |
English |
EV |
English-Vietnamese |
Release files for cambridict 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cambridict-0.1.6.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cambridict-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.8 kB
Release files / cambridict-0.1.6.tar.gz
| Download URL | cambridict-0.1.6.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9173721e3f6bf5cefce0edb4c5deeac5bac0002a066710d64c24b525fa6e6b3a
|
|
BLAKE2b-256 checksum How to use checksums |
f0703aaa14ebcf680df41c9ca2a23f7c3aac707f195581dd358301a86b5a8dc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1
|
Release files / cambridict-0.1.6-py3-none-any.whl
| Download URL | cambridict-0.1.6-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0d11b49d29c06f9485267ea569dfa499d7e5b160c4a3b0d977a9ca921e723c02
|
|
BLAKE2b-256 checksum How to use checksums |
1731e94411be91d0fb7a189df53f2c580b7c6b8f36df2acacb8bd2c490dd020b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.8.1
|