A Linux terminal online dictionary, based on `Cambridge Dictionary <https://dictionary.cambridge.org>`_
Project description
Usage
From PyPI:
pip3 install cambrinary
Look up 'hello' for example:
cambrinary -w hello
multi-languages support
in chinese(traditional)
cambrinary -w world -t chinese
Supported language list
- english
- french
- german
- chinese
- japanese
- italian
- russian (temporarily no, cause cambrige web issue)
multi-words support
powered by coroutine, support as many as words you like,
cambrinary -w hello word
or
cambrinary -w hello word -t chinese
even or more
cambrinary -w one two three four five -t french
Support phrase
cambrinary -w kick-off
or
cambrinary -w kick-off -t japanese
Customize your color scheme
Your cambrinary, you design.
Use conf.json to customize the color scheme, for instance,
setting pronunciation
, definition
or example_sentence
as you like. They could be in bold
format, blue
foreground and black
background, or any supported format and colors.
All supported color please refer to color_const.py.
For develop mode
You can change and test locally by, git clone the repo, cd
in the repo folder, run:
pip3 install .
# and then
cambrinary -t chinese -w testcase
maybe a venv is much better.
Log
logs is written into ~/.local/share/cambrinary/dict.log
in the append way.
Road map
more development plan, please refer to Wiki
Help
cambrinary --help
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for cambrinary-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb34df4b62e3e88c3ac52f46ce48f888cb17831627cf540da40837630024baf2 |
|
MD5 | 39d54f0a7649437853dc9c92b155bc7f |
|
BLAKE2b-256 | ea4f09bf930250c4b8054f118f493247f878b21a5c0a239f2ab89c5f6c438376 |